Skip to content

Commit 9e7d8a3

Browse files
committed
This should build and release linux and windows executables.
The last run failed because I defined the 'create release' twice. If the windows build's upload-release cannot reference the linux build's create-release, then I'll just create a distinct release after this trial Run actions/create-release@v1 with: tag_name: 120976417 release_name: Public Build Artifact 120976417 draft: false prerelease: true env: GITHUB_TOKEN: *** ##[error]Validation Failed: {"resource":"Release","code":"already_exists","field":"tag_name"}
1 parent 8b871c3 commit 9e7d8a3

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

.github/workflows/build.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -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: ${{ github.run_id }}
86+
# release_name: Public Build Artifact ${{ 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)