Skip to content

Commit

Permalink
only allow to build signed releases on tags
Browse files Browse the repository at this point in the history
  • Loading branch information
casimir committed Apr 28, 2024
1 parent 1a2e245 commit 0e8ce88
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 66 deletions.
21 changes: 0 additions & 21 deletions .github/workflows/build_and_upload.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,6 @@ on:
push:
tags:
- v*.*.*
branches:
- signed-apk # todo remove this line
workflow_call:
outputs:
run_id:
value: ${{ github.run_id}}
apk:
value: ${{ jobs.build_apk.outputs.artifact }}
linux:
value: ${{ jobs.build_linux.outputs.artifact }}
appimage:
value: ${{ jobs.build_appimage.outputs.artifact }}
windows:
value: ${{ jobs.build_windows.outputs.artifact }}
workflow_dispatch:

env:
VERSION: ${{ github.head_ref || github.ref_name }}
Expand Down Expand Up @@ -48,12 +33,6 @@ jobs:
- name: Sign Release
uses: ilharp/sign-android-release@v1
id: sign_release
env:
ANDROID_RELEASE_DIR: build/app/outputs/flutter-apk
ANDROID_SIGNING_KEY: ${{ secrets.KEYSTORE_B64 }}
ANDROID_KEY_ALIAS: ${{ secrets.ALIAS }}
ANDROID_KEYSTORE_PASSWORD: ${{ secrets.KEYSTORE_PASSWORD }}
ANDROID_KEY_PASSWORD: ${{ secrets.KEY_PASSWORD }}
with:
releaseDir: build/app/outputs/flutter-apk
signingKey: ${{ secrets.KEYSTORE_B64 }}
Expand Down
45 changes: 0 additions & 45 deletions .github/workflows/pr_builder.yml

This file was deleted.

0 comments on commit 0e8ce88

Please sign in to comment.