mirror of
https://github.com/nixietab/picodulce.git
synced 2025-04-09 18:08:57 +01:00
Update Build.yml
This commit is contained in:
parent
14855f2f00
commit
6c93ab07c5
8
.github/workflows/Build.yml
vendored
8
.github/workflows/Build.yml
vendored
@ -43,11 +43,6 @@ jobs:
|
|||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Set up Node.js
|
|
||||||
uses: actions/setup-node@v3
|
|
||||||
with:
|
|
||||||
node-version: '16'
|
|
||||||
|
|
||||||
- name: Get version and name from version.json
|
- name: Get version and name from version.json
|
||||||
id: version_info
|
id: version_info
|
||||||
run: |
|
run: |
|
||||||
@ -56,6 +51,7 @@ jobs:
|
|||||||
echo "RELEASE_TAG=$($versionJson.version)" >> $env:GITHUB_ENV
|
echo "RELEASE_TAG=$($versionJson.version)" >> $env:GITHUB_ENV
|
||||||
|
|
||||||
- name: Create GitHub Release
|
- name: Create GitHub Release
|
||||||
|
id: create_release
|
||||||
uses: actions/create-release@v1
|
uses: actions/create-release@v1
|
||||||
with:
|
with:
|
||||||
tag_name: ${{ env.RELEASE_TAG }}
|
tag_name: ${{ env.RELEASE_TAG }}
|
||||||
@ -69,7 +65,7 @@ jobs:
|
|||||||
- name: Upload Release Asset
|
- name: Upload Release Asset
|
||||||
uses: actions/upload-release-asset@v1
|
uses: actions/upload-release-asset@v1
|
||||||
with:
|
with:
|
||||||
upload_url: ${{ steps.version_info.outputs.upload_url }}
|
upload_url: ${{ steps.create_release.outputs.upload_url }}
|
||||||
asset_path: actions-temp/build/2hsu.exe
|
asset_path: actions-temp/build/2hsu.exe
|
||||||
asset_name: 2hsu.exe
|
asset_name: 2hsu.exe
|
||||||
asset_content_type: application/octet-stream
|
asset_content_type: application/octet-stream
|
||||||
|
Loading…
Reference in New Issue
Block a user