From d85bc1f1111d8d57f46be52b9ee3e66d6f5d4e2f Mon Sep 17 00:00:00 2001 From: I3ene Date: Tue, 13 Jun 2023 16:10:00 +0200 Subject: [PATCH] changed ci-cd release action --- .github/workflows/ci-cd.yml | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/.github/workflows/ci-cd.yml b/.github/workflows/ci-cd.yml index 4cd9f22..85dcdf5 100644 --- a/.github/workflows/ci-cd.yml +++ b/.github/workflows/ci-cd.yml @@ -48,15 +48,13 @@ jobs: - name: Bundle run: npm run bundle + + - name: ZIP files + run: zip -r ${{ github.ref_name }}.zip dist/decksterous api/bundle - - name: Create release - uses: Roang-zero1/github-create-release-action@v2 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - - - name: Upload release artifacts - uses: Roang-zero1/github-upload-release-artifacts-action@v2 + - name: Release files + uses: softprops/action-gh-release@v1 with: - args: "dist/decksterous/ api/bundle/" + files: ${{ github.ref_name }}.zip env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}