Skip to content

Build with Github Actions #1

Build with Github Actions

Build with Github Actions #1

Workflow file for this run

name: Build
on: [push, pull_request]
jobs:
appimage:
name: Build AppImage
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Build AppImage
run: |
./build.sh
- name: Archive artifacts
uses: actions/upload-artifact@v3
with:
name: AppImage
path: appimagecraft*.AppImage*
upload:
name: Create release and upload artifacts
runs-on: ubuntu-latest
needs:
- test

Check failure on line 24 in .github/workflows/build.yml

View workflow run for this annotation

GitHub Actions / Build

Invalid workflow file

The workflow is not valid. .github/workflows/build.yml (Line: 24, Col: 9): Job 'upload' depends on unknown job 'test'.
- appimage
steps:
- name: Download artifacts
uses: actions/download-artifact@v3
- name: Inspect directory after downloading artifacts
run: ls -alFR
- name: Create release and upload artifacts
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
wget -q https://github.com/phw/pyuploadtool/releases/download/continuous/pyuploadtool-x86_64.AppImage
chmod +x pyuploadtool-x86_64.AppImage
./pyuploadtool-x86_64.AppImage **/appimagecraft*.AppImage*