Update version #10
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Linux x86_64 AppImage | |
| on: | |
| push: | |
| branches: | |
| - main | |
| paths-ignore: | |
| - '*.md' | |
| - 'Documents/**' | |
| release: | |
| types: [published] | |
| paths-ignore: | |
| - '*.md' | |
| - 'Documents/**' | |
| workflow_dispatch: | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| build: | |
| runs-on: ubuntu-22.04 | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Install dependency | |
| run: sudo apt-get update && sudo apt-get install -y libsdl2-dev | |
| - name: Build XM8 Linux app | |
| run: | | |
| cd Builder/Linux | |
| ./AppImage.sh | |
| - name: Upload build artifact | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: XM8_Linux_x86_64.appimage | |
| path: Builder/Linux/*.appimage | |
| - name: Update Release | |
| if: ${{ github.event_name == 'release' && !env.ACT }} | |
| uses: svenstaro/upload-release-action@v2 | |
| with: | |
| file: Builder/Linux/XM8_Linux_x86_64.appimage | |
| overwrite: true | |