Skip to content

Appimage

Appimage #29

Workflow file for this run

name: Appimage
concurrency:
group: build-${{ github.ref }}
cancel-in-progress: true
on:
schedule:
- cron: "0 16 1/14 * *"
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
container: ghcr.io/pkgforge-dev/archlinux:latest
steps:
- uses: actions/checkout@v4
- name: build
if: always()
run: chmod +x ./get-dependencies.sh && ./get-dependencies.sh
- name: Make AppImage
run: |
chmod +x ./*-appimage.sh && ./*-appimage.sh
mkdir dist
ls -la
mv *.AppImage* dist/
mv *.AppBundle* dist/
- name: Check version file
run: |
cat ~/version
echo "APP_VERSION=$(cat ~/version)" >> "${GITHUB_ENV}"
- name: Upload artifact
uses: actions/[email protected]
with:
name: AppImage
path: 'dist'
- name: Upload version file
uses: actions/[email protected]
with:
name: version
path: ~/version
release:
needs: [build]
permissions: write-all
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
with:
name: AppImage
- uses: actions/[email protected]
with:
name: version
- name: Read version and Get date
run: |
echo "VERSION=$(cat version)" >> "${GITHUB_ENV}"
echo "DATE=$(date +'%Y-%m-%d_%s')" >> "$GITHUB_ENV"
- name: Release Artifacts
uses: softprops/[email protected]
with:
name: "UnleashedRecomp: ${{ env.VERSION }}"
tag_name: "${{ env.VERSION }}@${{ env.DATE }}"
prerelease: false
draft: false
generate_release_notes: false
fail_on_unmatched_files: false
make_latest: true
files: |
*.AppImage*
*.AppBundle*