From aa5fddc8b1275e7d48d9255dd2cb87284753a939 Mon Sep 17 00:00:00 2001 From: iBug Date: Tue, 23 Jul 2024 23:22:32 +0800 Subject: [PATCH] Restore goreleaser-action --- .github/workflows/release.yml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 275064a..0a198eb 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -47,9 +47,16 @@ jobs: push: true tags: ghcr.io/ustclug/yukid:${{ github.ref_name }} + # More assembly might be required: Docker logins, GPG, etc. + # It all depends on your needs. + - uses: goreleaser/goreleaser-action@v6 + with: + version: latest + args: release --clean + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + - uses: softprops/action-gh-release@v1 with: files: | - yukid - yukictl yuki*.deb