Skip to content

Commit

Permalink
Merge pull request #233 from muttleyxd/fix-appimage
Browse files Browse the repository at this point in the history
ci: fix AppImage release
  • Loading branch information
muttleyxd authored Sep 11, 2022
2 parents 2769d98 + eb68572 commit 82233f6
Showing 1 changed file with 22 additions and 4 deletions.
26 changes: 22 additions & 4 deletions .github/workflows/linux_packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ jobs:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Set permissions
run: chmod 777 ${{ github.workspace }}
- name: Run the build process with Docker
uses: addnab/docker-run-action@v3
with:
Expand All @@ -24,14 +26,23 @@ jobs:
cd /github/workspace
tools/ci/packaging/archlinux/build.sh /github/workspace /tmp/build /tmp/build
ls /tmp/build
cd /tmp/build
(test "${{ github.ref }}" == "refs/heads/master" && github-release --token ${{ secrets.actionrelease }} --repository muttleyxd/arma3-unix-launcher --file-glob "*.pkg.tar*") || true
cp /tmp/build/*.pkg.tar* /github/workspace
- name: draft release
if: github.ref == 'refs/heads/master'
uses: xresloader/upload-to-github-release@v1
env:
GITHUB_TOKEN: ${{ secrets.actionrelease }}
with:
file: "*.pkg.tar.*"
draft: true
appimage-gcc-8:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Set permissions
run: chmod 777 ${{ github.workspace }}
- name: Run the build process with Docker
uses: addnab/docker-run-action@v3
with:
Expand All @@ -41,5 +52,12 @@ jobs:
set -eux
cd /github/workspace
tools/ci/packaging/appimage/build.sh /github/workspace /tmp/build /tmp/build
ls /tmp/build
(test "${{ github.ref }}" == "refs/heads/master" && github-release --token ${{ secrets.actionrelease }} --repository muttleyxd/arma3-unix-launcher --file-glob "/tmp/build/*.AppImage") || true
cp /tmp/build/*.AppImage /github/workspace
- name: draft release
if: github.ref == 'refs/heads/master'
uses: xresloader/upload-to-github-release@v1
env:
GITHUB_TOKEN: ${{ secrets.actionrelease }}
with:
file: "*.AppImage"
draft: true

0 comments on commit 82233f6

Please sign in to comment.