From e23806f1403930056323868ebb16fa5e5a279854 Mon Sep 17 00:00:00 2001 From: Ararat Mnatsakanyan Date: Mon, 23 Dec 2024 14:29:18 +0100 Subject: [PATCH] Test create github release workflow --- .github/workflows/create_github_release.yml | 2 +- .github/workflows/publish_release.yml | 33 ++------------------- 2 files changed, 3 insertions(+), 32 deletions(-) diff --git a/.github/workflows/create_github_release.yml b/.github/workflows/create_github_release.yml index c6865fcdaa..08491b8d0b 100644 --- a/.github/workflows/create_github_release.yml +++ b/.github/workflows/create_github_release.yml @@ -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" diff --git a/.github/workflows/publish_release.yml b/.github/workflows/publish_release.yml index 65002c09c1..ecaa29e1f5 100644 --- a/.github/workflows/publish_release.yml +++ b/.github/workflows/publish_release.yml @@ -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"