Skip to content

Commit

Permalink
Stop uploading github artifacts during release
Browse files Browse the repository at this point in the history
  • Loading branch information
JElgar committed Oct 2, 2024
1 parent 97ae8a8 commit b1ad5ec
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 14 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/android-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@ name: Android release

on:
workflow_dispatch:
inputs:
build-name:
required: true
type: string
build-number:
required: true
type: string
workflow_call:
inputs:
build-name:
Expand Down Expand Up @@ -43,12 +50,6 @@ jobs:
- name: 🛠️ Build app
run: flutter build appbundle --release --build-name=${{ inputs.build-name }} --build-number=${{ inputs.build-number }}

# - name: ⏫ Upload bundle as gh artifact
# uses: actions/upload-artifact@v2
# with:
# name: Signed app bundle
# path: ${{steps.sign_app.outputs.signedReleaseFile}}

- name: ⏫ Upload bundle to Play Store
uses: r0adkll/upload-google-play@v1
with:
Expand Down
15 changes: 7 additions & 8 deletions .github/workflows/ios-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@ name: IOS release

on:
workflow_dispatch:
inputs:
build-name:
required: true
type: string
build-number:
required: true
type: string
workflow_call:
inputs:
build-name:
Expand Down Expand Up @@ -75,14 +82,6 @@ jobs:
- name: 🛠️ Building IPA
run: flutter build ipa --release --export-options-plist=ios/Runner/ExportOptions.plist --build-name=${{ inputs.build-name }} --build-number=${{ inputs.build-number }}

# Collect the file and upload as artifact
- name: ⏫ Upload bundle as gh artifact
uses: actions/upload-artifact@v2
with:
name: release-ipa
# Path to the release files
path: build/ios/ipa/*.ipa

# Important! Cleanup: remove the certificate and provisioning profile from the runner!
- name: 🧹 Clean up keychain and provisioning profile
if: ${{ always() }}
Expand Down

0 comments on commit b1ad5ec

Please sign in to comment.