run package script as sudo to fix permission error in workflow #6
This file contains 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: Build and package the app for all platforms | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
build: | |
name: Build and package | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out repository | |
uses: actions/checkout@v4 | |
- name: Build and package | |
run: | | |
sudo ./package.sh | |
- name: Upload artifacts | |
uses: actions/upload-artifact@v4 | |
with: | |
name: AmigaGPT | |
path: out/AmigaGPT.lha |