Skip to content

Commit

Permalink
Add draft release job dependent on build jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
a-mabe committed Oct 29, 2023
1 parent 2b63d6a commit 7c43d2d
Showing 1 changed file with 16 additions and 9 deletions.
25 changes: 16 additions & 9 deletions .github/workflows/build_and_release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -93,14 +93,6 @@ jobs:
name: release-aab
path: build/app/outputs/bundle/release/app-release.aab

# - name: Create Draft Release
# uses: ncipollo/[email protected]
# with:
# artifacts: "build/app/outputs/apk/release/*.apk, build/app/outputs/bundle/release/*.aab"
# draft: "true"
# tag: ${{needs.GetVersionNumber.outputs.version}}
# generateReleaseNotes: "true"

BuildiOSRelease:
runs-on: macos-latest
environment: production
Expand Down Expand Up @@ -163,4 +155,19 @@ jobs:
if: ${{ always() }}
run: |
security delete-keychain $RUNNER_TEMP/app-signing.keychain-db
rm ~/Library/MobileDevice/Provisioning\ Profiles/build_pp.mobileprovision
rm ~/Library/MobileDevice/Provisioning\ Profiles/build_pp.mobileprovision
CreateDraftRelease:
runs-on: macos-latest
environment: production
needs: [BuildAndroidRelease, BuildiOSRelease]
permissions:
contents: write
steps:
- name: Create Draft Release
uses: ncipollo/[email protected]
with:
artifacts: "build/app/outputs/apk/release/*.apk, build/app/outputs/bundle/release/*.aab, build/ios/ipa/*.ipa"
draft: "true"
tag: ${{needs.GetVersionNumber.outputs.version}}
generateReleaseNotes: "true"

0 comments on commit 7c43d2d

Please sign in to comment.