Skip to content

Commit

Permalink
Update build_app.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
PeterNjeim authored Sep 13, 2022
1 parent 2ff09ea commit dcc8f1f
Showing 1 changed file with 2 additions and 13 deletions.
15 changes: 2 additions & 13 deletions .github/workflows/build_app.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,12 @@ on:
- "v*.*.*"

jobs:
prerelease:
release:
runs-on: ubuntu-latest
steps:
- name: Publish pre-release
uses: softprops/action-gh-release@v1
with:
prerelease: true
token: ${{ secrets.LIBRESCORE_TOKEN }}
repository: LibreScore/${{ secrets.LIBRESCORE_REPO_A }}
body: '## Download
Expand All @@ -31,7 +30,7 @@ jobs:
Installation instructions are in the [README](https://github.com/LibreScore/${{ secrets.LIBRESCORE_REPO_A }}/blob/master/README.md) file.'
build:
needs: prerelease
needs: release
runs-on: ${{ matrix.os }}
strategy:
matrix:
Expand Down Expand Up @@ -188,16 +187,6 @@ Installation instructions are in the [README](https://github.com/LibreScore/${{
files: |
./LibreScore.dmg
./LibreScore.pkg
release:
needs: build
runs-on: ubuntu-latest
steps:
- name: Publish release
uses: softprops/action-gh-release@v1
with:
prerelease: false
token: ${{ secrets.LIBRESCORE_TOKEN }}
repository: LibreScore/${{ secrets.LIBRESCORE_REPO_A }}
delete:
if: failure()
runs-on: ubuntu-latest
Expand Down

0 comments on commit dcc8f1f

Please sign in to comment.