From 907f9ccba21c588eb447184526f8b0ff0c7bce8c Mon Sep 17 00:00:00 2001 From: Misty Date: Mon, 31 Oct 2022 04:30:20 +0800 Subject: [PATCH] Make CI do the release --- .github/workflows/build-deb.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/build-deb.yml b/.github/workflows/build-deb.yml index dc8da07..a665e03 100644 --- a/.github/workflows/build-deb.yml +++ b/.github/workflows/build-deb.yml @@ -40,3 +40,10 @@ jobs: with: name: fouldecrypt-${{matrix.provider}} path: ${{ github.workspace }}/packages/*.deb + - name: Release + uses: softprops/action-gh-release@v1 + if: startsWith(github.ref, 'refs/tags/') + with: + files: ${{ github.workspace }}/packages/*.deb + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}