Skip to content

Commit 70ff0ed

Browse files
committed
This should release both linux and windows binaries built with GitHub's Actions CI workflow.
The last build proved that different jobs cannot reference previous job's releases. So I'll just have distinct releases for both linux & windows for now..
1 parent 9e7d8a3 commit 70ff0ed

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

.github/workflows/build.yml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ jobs:
3636
env:
3737
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3838
with:
39-
tag_name: ${{ github.run_id }}
40-
release_name: Public Build Artifact ${{ github.run_id }}
39+
tag_name: linux_${{ github.run_id }}
40+
release_name: Public Build Artifact: Linux ${{ github.run_id }}
4141
draft: false
4242
prerelease: true
4343

@@ -76,16 +76,16 @@ jobs:
7676
run: 'Compress-Archive -DestinationPath helloWorld-windows-x86_64.${{ github.run_id }}.zip -Path dist\*'
7777
shell: powershell
7878

79-
# - name: Create Release
80-
# id: create_release
81-
# uses: actions/create-release@v1
82-
# env:
83-
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
84-
# with:
85-
# tag_name: ${{ github.run_id }}
86-
# release_name: Public Build Artifact ${{ github.run_id }}
87-
# draft: false
88-
# prerelease: true
79+
- name: Create Release
80+
id: create_release
81+
uses: actions/create-release@v1
82+
env:
83+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
84+
with:
85+
tag_name: windows_${{ github.run_id }}
86+
release_name: Public Build Artifact: Windows ${{ github.run_id }}
87+
draft: false
88+
prerelease: true
8989

9090
- name: Upload Release Asset
9191
id: upload-release-asset

0 commit comments

Comments
 (0)