Skip to content

Commit a721e9c

Browse files
committed
chore: update workflow release
1 parent 7d04796 commit a721e9c

File tree

1 file changed

+6
-9
lines changed

1 file changed

+6
-9
lines changed

.github/workflows/release.yaml

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -24,26 +24,23 @@ jobs:
2424
- name: Checkout repository
2525
uses: actions/checkout@v4
2626

27-
# For steps using "run", the working-directory will be set to firebase-dart-admin-auth-sdk
28-
# Note: The following "run" step is used as an example using the CLI version of release-please.
29-
# If you prefer the official action (which uses "uses"), you cannot set a working-directory directly.
3027
- name: Run release-please CLI
3128
run: |
32-
npx release-please release-pr --repo-url=https://github.com/aortem/firebase-dart-admin-auth-sdk --token="${{ secrets.RELEASE_PLEASE_ACTION_TOKEN }}" --target-branch=main
29+
npx release-please release-pr \
30+
--repo-url=https://github.com/aortem/firebase-dart-admin-auth-sdk \
31+
--token="${{ secrets.RELEASE_PLEASE_ACTION_TOKEN }}" \
32+
--target-branch=main \
33+
--config-file=firebase-dart-admin-auth-sdk/release-please-config.json \
34+
--manifest-file=firebase-dart-admin-auth-sdk/.release-please-manifest.json
3335
3436
- name: Dump Release Output
3537
run: echo "Release process completed."
36-
outputs:
37-
release_created: ${{ steps.release.outputs.release_created }}
38-
release_tag_name: ${{ steps.release.outputs.tag_name }}
39-
upload_url: ${{ steps.release.outputs.upload_url }}
4038

4139
dart-release:
4240
defaults:
4341
run:
4442
working-directory: firebase-dart-admin-auth-sdk
4543
needs: release-please
46-
if: ${{ needs.release-please.outputs.release_created == 'true' }}
4744
runs-on: ubuntu-latest
4845
permissions:
4946
contents: write

0 commit comments

Comments
 (0)