Skip to content

Commit

Permalink
Test create github release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
araratthehero committed Dec 23, 2024
1 parent 0d27230 commit e23806f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 32 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/create_github_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,5 @@ jobs:
token: ${{ env.GITHUB_TOKEN }}
tag: ${{ env.VERSION_NAME }}
name: ${{ env.VERSION_NAME }}
bodyFile: ${{ github.workspace }}/RELEASE_NOTES.md
draft: true
artifacts: "app/build/outputs/apk/release/app-release.apk"
33 changes: 2 additions & 31 deletions .github/workflows/publish_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,41 +2,12 @@ name: Publish Release

# Every time a push happens to the release/** branch. We use this trigger since create event does not support filtering
on:
push:
branches:
- 'release/**'
workflow_dispatch

jobs:
check:
name: Check
uses: ./.github/workflows/check.yml
generate_version_name:
name: Generate version name
uses: ./.github/workflows/generate_version_name.yml
publish_to_maven_central:
name: Publish to Maven Central
uses: ./.github/workflows/publish_to_maven_central.yml
secrets: inherit
needs: [generate_version_name, check]
with:
version-name: ${{ needs.generate_version_name.outputs.version-name }}
create_github_release:
name: Create GitHub release
uses: ./.github/workflows/create_github_release.yml
secrets: inherit
needs: [generate_version_name, publish_to_maven_central]
with:
version-name: ${{ needs.generate_version_name.outputs.version-name }}
generate_release_notes:
name: Generate release notes
uses: ./.github/workflows/generate_release_notes.yml
secrets: inherit
needs: [generate_version_name, create_github_release]
with:
version-name: ${{ needs.generate_version_name.outputs.version-name }}
create_release_notes_pr:
name: Create release notes pr
uses: ./.github/workflows/create_release_notes_pr.yml
needs: [generate_version_name, generate_release_notes]
with:
version-name: ${{ needs.generate_version_name.outputs.version-name }}
version-name: "9.9.9"

0 comments on commit e23806f

Please sign in to comment.