diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 82340eb..6e94ebc 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -107,13 +107,13 @@ jobs: - run: npm ci - name: Build Linux Packages - run: npx electron-builder --linux AppImage deb rpm --publish never + run: npx electron-builder --linux AppImage deb rpm pacman --publish never - name: Upload to Release run: | RELEASE_ID=$(curl -s "${FORGEJO_API}/repos/${GITHUB_REPOSITORY}/releases/tags/${{ github.ref_name }}" \ -H "Authorization: token ${{ secrets.RELEASE_TOKEN }}" | python3 -c 'import sys,json; print(json.load(sys.stdin)["id"])') - for file in dist/*.AppImage dist/*.AppImage.blockmap dist/*.deb dist/*.rpm dist/latest-linux.yml; do + for file in dist/*.AppImage dist/*.AppImage.blockmap dist/*.deb dist/*.rpm dist/*.pacman dist/latest-linux.yml; do [ -f "$file" ] || continue echo "Uploading $file..." curl -s --max-time 600 -X POST "${FORGEJO_UPLOAD}/repos/${GITHUB_REPOSITORY}/releases/${RELEASE_ID}/assets?name=$(basename $file)" \