From 4a59525796d758db914b61e12c8a273f7a17e1ec Mon Sep 17 00:00:00 2001 From: chsami Date: Sat, 16 Nov 2024 17:50:32 +0100 Subject: [PATCH] Update build.yml --- .github/workflows/build.yml | 25 +++++++------------------ 1 file changed, 7 insertions(+), 18 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 610cfa3..716c758 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -28,23 +28,12 @@ jobs: - name: Build project run: npm run build:x64 - - name: Create GitHub Release - id: create_release - uses: actions/create-release@v1 + - name: Create Release + uses: "marvinpinto/action-automatic-releases@latest" with: - tag_name: ${{ github.ref }} - release_name: Release ${{ github.ref }} - draft: false + repo_token: "${{ secrets.GITHUB_TOKEN }}" + automatic_release_tag: "1.0.7" prerelease: false - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - - - name: Upload Release Assets - uses: svenstaro/upload-release-action@v2 - with: - repo_token: ${{ secrets.GITHUB_TOKEN }} - file: build/* - asset_name: ${{ github.ref_name }}-build.zip - tag: ${{ github.ref }} - overwrite: true - file_glob: true + title: "Release 1.0.7" + files: | + /home/runner/work/microbot-launcher/out/make