Skip to content

Steam Appimage

Steam Appimage #247

Workflow file for this run

name: Steam Appimage
concurrency:
group: build-${{ github.ref }}
cancel-in-progress: true
on:
schedule:
- cron: "0 6 * * 1"
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- name: build
run: |
sudo apt install zsync
chmod +x ./steam-runimage.sh && ./steam-runimage.sh
mkdir -p ./dist
mv *.AppImage* dist/
mv *.AppBundle* dist/
- name: Upload artifact
uses: actions/upload-artifact@v4.4.3
with:
name: AppImage
path: 'dist'
- name: Upload version file
uses: actions/upload-artifact@v4.4.3
with:
name: version
path: ~/version
release:
if: ${{ github.ref_name == 'main' }}
needs: [build]
permissions: write-all
runs-on: ubuntu-latest
steps:
- uses: actions/download-artifact@v4.1.8
with:
name: AppImage
- uses: actions/download-artifact@v4.1.8
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/action-gh-release@v2.2.2
with:
name: "Steam: ${{ env.VERSION }}"
tag_name: "${{ env.VERSION }}@${{ env.DATE }}"
prerelease: false
draft: false
generate_release_notes: false
make_latest: true
files: |
*.AppImage*
*.AppBundle*