Skip to content

Commit ad8ecc3

Browse files
committed
updated ci/cd pipeline
1 parent 4d44815 commit ad8ecc3

File tree

2 files changed

+30
-19
lines changed

2 files changed

+30
-19
lines changed

.github/workflows/dart_build.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: build
2+
3+
on:
4+
push:
5+
tags:
6+
- '[0-9]+.[0-9]+.[0-9]+'
7+
8+
jobs:
9+
publish:
10+
environment: ${{ inputs.environment }}
11+
permissions:
12+
id-token: write
13+
14+
runs-on: ubuntu-latest
15+
16+
steps:
17+
- name: 'Checkout'
18+
uses: actions/checkout@v4
19+
20+
- name: 'Setup Dart'
21+
uses: dart-lang/setup-dart@v1.6.0
22+
23+
- name: 'Get Packages'
24+
run: dart pub get
25+
26+
- name: 'Dry Run Publishing'
27+
run: dart pub publish --dry-run
28+
29+
- name: 'Publish Artifact'
30+
run: dart pub publish --force

.github/workflows/flutter_build.yml

Lines changed: 0 additions & 19 deletions
This file was deleted.

0 commit comments

Comments
 (0)