Skip to content

Commit

Permalink
fix: Release
Browse files Browse the repository at this point in the history
  • Loading branch information
taorepoara committed Aug 19, 2023
1 parent 78e5b58 commit cc7decd
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,6 @@ jobs:
id-token: write # Required for authentication using OIDC
steps:
- uses: actions/checkout@v3
- name: Set version
uses: mikefarah/yq@master
with:
cmd: yq -i '.version="${{ env.VERSION }}"' pubspec.yaml
- uses: dart-lang/setup-dart@v1
- name: Cache Flutter dependencies
uses: actions/cache@v2
Expand All @@ -52,5 +48,9 @@ jobs:
echo '${{ secrets.PUB_DEV_GCLOUD_KEY }}' > .github/key-file.json
gcloud auth activate-service-account --key-file=.github/key-file.json
gcloud auth print-identity-token --audiences=https://pub.dev | dart pub token add https://pub.dev
- name: Set version
uses: mikefarah/yq@master
with:
cmd: yq -i '.version="${{ env.VERSION }}"' pubspec.yaml
- name: Publish
run: flutter pub publish --force

0 comments on commit cc7decd

Please sign in to comment.