Skip to content

Commit

Permalink
Update build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
chsami authored Nov 16, 2024
1 parent 4d8204b commit 4a59525
Showing 1 changed file with 7 additions and 18 deletions.
25 changes: 7 additions & 18 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 4a59525

Please sign in to comment.