Skip to content

Commit

Permalink
Update build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
gmicroul authored Dec 10, 2024
1 parent 659c36a commit 728cce1
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ jobs:

build:
runs-on: ubuntu-20.04
if: github.event.repository.owner.id == github.event.sender.id

env:
DEVICE: mido
Expand Down Expand Up @@ -142,14 +143,19 @@ jobs:
shell: bash

- name: Upload flashable zip
id: upload-action
uses: actions/upload-artifact@master
with:
name: sailfishos.zip
path: ${{env.ANDROID_ROOT}}/SailfishOScommunity-release-*/sailfishos-*-${{env.DEVICE}}*.zip


- name: Release
uses: softprops/action-gh-release@v2
if: startsWith(github.ref, 'refs/tags/')
- name: Upload image to Release
uses: ncipollo/release-action@main
if: steps.upload-action.outputs.status == 'success' && !cancelled()
with:
files: ${{env.ANDROID_ROOT}}/SailfishOScommunity-release-*/sailfishos-*-${{env.DEVICE}}*.zip
tag: sailfishos_for_mido
artifacts: ${{env.ANDROID_ROOT}}/SailfishOScommunity-release-*/sailfishos-*-${{env.DEVICE}}*.zip
allowUpdates: true
token: ${{ secrets.GITHUB_TOKEN }}
body: |
This is mido sailfishos 5.0

0 comments on commit 728cce1

Please sign in to comment.