From c285c267efd36403ca7ffdff093252d896c7429a Mon Sep 17 00:00:00 2001 From: bpcreech <35012922+bpcreech@users.noreply.github.com> Date: Sun, 4 Feb 2024 17:12:48 -0500 Subject: [PATCH] use a release not an artifact --- .github/workflows/build.yaml | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 6d58736..1847f38 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -22,8 +22,17 @@ jobs: - run: npm install - run: npm run build - - name: Upload artifacts - uses: actions/upload-artifact@v4 + - name: Create Release + id: create_release + uses: actions/create-release@v1 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: - name: production-files - path: ./dist + tag_name: ${{ github.ref }} + release_name: Release ${{ github.ref }} + + # - name: Upload artifacts + # uses: actions/upload-artifact@v4 + # with: + # name: production-files + # path: ./dist