diff --git a/.github/workflows/aarch64.yml b/.github/workflows/aarch64.yml index 0e57d764..63902977 100644 --- a/.github/workflows/aarch64.yml +++ b/.github/workflows/aarch64.yml @@ -2,6 +2,11 @@ name: New aarch64 Release run-name: Release v${{ github.event.inputs.tag }} on: workflow_dispatch: + inputs: + tag: + description: "Tag" + required: true + default: "1.x.x" jobs: build: runs-on: [ubuntu-20.04] @@ -26,6 +31,7 @@ jobs: run: | wget https://raw.githubusercontent.com/jensgrunzer1/swingmusic/refs/heads/master/aarch64_buildscript chmod +x aarch64_buildscript + sed -i -e '/s/TAG/${{ github.event.inputs.tag }}/g' aarch64_buildscript mv aarch64_buildscript root/ sudo systemd-nspawn --bind-ro=/etc/resolv.conf -D root ./aarch64_buildscript - name: Create Release