name: Release # Tinggal bikin tag: git tag v1.2.0 && git push --tags # Versi AppImage diambil dari nama tag, jadi tidak perlu ubah file apa pun. on: push: tags: ["v*"] workflow_dispatch: permissions: contents: write jobs: release: runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v4 - name: Install build dependencies run: | sudo apt-get update sudo apt-get install -y --no-install-recommends \ libgl1-mesa-dev libx11-dev xorg-dev libxkbcommon-dev libwayland-dev - uses: actions/setup-go@v5 with: go-version-file: go.mod cache: true - name: Test run: go test ./... - name: Build AppImage env: # build.sh menyisipkan info update zsync yang mengarah ke rilis di Gitea. GITEA_BASE: ${{ github.server_url }}/${{ github.repository }} run: | VERSION="${GITHUB_REF_NAME#v}" ./build.sh ls -lh dist/lazyrun-*.AppImage* - name: Create release uses: softprops/action-gh-release@v2 with: name: LazyRun ${{ github.ref_name }} generate_release_notes: true body: | Single-file AppImage for Linux x86_64. No root needed, everything stays in `~/.local/` and `~/.config/lazyrun/`. Already using LazyRun? It checks this release page on startup and offers to update itself (delta updates with `AppImageUpdate` when installed). files: | dist/lazyrun-*.AppImage dist/lazyrun-*.AppImage.zsync