action: fix gh cli authentication #18
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 | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
jobs: | |
build: | |
name: Build | |
strategy: | |
fail-fast: false | |
matrix: | |
app: | |
- calibre | |
- dotnet | |
- go | |
- java | |
- mp3tag | |
- musikcube | |
- musl | |
- node | |
- pinta | |
- pypy | |
- renpy | |
- rust | |
- tex | |
- wine | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v4 | |
- name: Install packaging dependencies | |
run: sudo apt install -y aria2 libarchive-tools | |
- name: Setup DwarFS | |
run: | | |
sudo cp appdwarf /bin | |
sudo wget https://github.com/mhx/dwarfs/releases/download/v0.9.6/dwarfs-universal-0.9.6-Linux-x86_64-clang -O /bin/mkdwarfs | |
sudo chmod +x /bin/mkdwarfs | |
cd apps | |
- name: Build image | |
env: | |
GH_TOKEN: ${{ github.token }} | |
run: ./mk${{ matrix.app }} | |
- name: Upload build artifact | |
uses: actions/upload-artifact@v4 | |
with: | |
name: ${{ matrix.app }} | |
path: | | |
bin/${{ matrix.app }} |