Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 6 additions & 9 deletions .github/workflows/android-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,18 +17,15 @@ jobs:
run: .ci/ci-verify-release-branch.sh
- name: Finish release
run: .ci/ci-release-finish.sh
- name: Create GitHub release
uses: softprops/action-gh-release@v2
- name: Create or update release
env:
GITHUB_TOKEN: ${{ GITHUB_TOKEN }}
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think that should be secrets.CI_GITHUB_ACCESS_TOKEN.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah - I wasn't sure since ios-core wasn't using it. But it's probably better to go with the ci token.

RELEASE_NOTES_PATH: ${{ env.RELEASE_NOTES_PATH }}
TAG_NAME: ${{ env.TAG_NAME }}
VERSION_NUM: ${{ env.VERSION_NUM }}
with:
token: ${{ secrets.CI_GITHUB_ACCESS_TOKEN }}
tag_name: ${{ env.TAG_NAME }}
name: ${{ env.VERSION_NUM }}
body_path: ${{ env.RELEASE_NOTES_PATH }}
draft: false
run: |
gh release create "$VERSION_NUM" \
--title "$VERSION_NUM" \
--notes-file "$RELEASE_NOTES_PATH"
- name: Build
env:
MAVEN_CENTRAL_USERNAME: ${{ secrets.MAVEN_CENTRAL_USERNAME }}
Expand Down
Loading