Skip to content

Commit

Permalink
ci: push latest master flatpak build to continous prerelease
Browse files Browse the repository at this point in the history
Signed-off-by: Adrian Suciu <[email protected]>
  • Loading branch information
adisuciu committed Apr 26, 2021
1 parent 00caa53 commit c625d89
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/dockerimage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,12 @@ jobs:
with:
name: Scopy.flatpak
path: ${{ github.workspace }}/Scopy.flatpak
- name: Upload master flatpak build to continous prerelease
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
run: |
wget https://github.com/tcnksm/ghr/releases/download/v0.13.0/ghr_v0.13.0_linux_amd64.tar.gz
tar xvf ghr_v0.13.0_linux_amd64.tar.gz
ghr_v0.13.0_linux_amd64/ghr -u ${{ github.repository_owner }} -r scopy -name "Continuous build" -b "Latest succesful master build " -prerelease -debug -replace continous ${{ github.workspace }}/Scopy.flatpak
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit c625d89

Please sign in to comment.