Skip to content

Commit 9272f24

Browse files
authored
Update cicd.yml
1 parent 5c3c8c1 commit 9272f24

1 file changed

Lines changed: 11 additions & 14 deletions

File tree

.github/workflows/cicd.yml

Lines changed: 11 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -155,14 +155,14 @@ jobs:
155155
with:
156156
github_token: ${{ secrets.GITHUB_TOKEN }}
157157

158-
- name: release
159-
uses: actions/create-release@v1
160-
env:
161-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
162-
with:
163-
tag_name: ${{ steps.tag_version.outputs.new_tag }}
164-
release_name: Release ${{ steps.tag_version.outputs.new_tag }}
165-
body: ${{ steps.tag_version.outputs.changelog }}
158+
#- name: release
159+
# uses: actions/create-release@v1
160+
# env:
161+
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
162+
# with:
163+
# tag_name: ${{ steps.tag_version.outputs.new_tag }}
164+
# release_name: Release ${{ steps.tag_version.outputs.new_tag }}
165+
# body: ${{ steps.tag_version.outputs.changelog }}
166166

167167
- name: Download Linux
168168
uses: actions/download-artifact@v2
@@ -175,17 +175,14 @@ jobs:
175175
name: win32-hello-world
176176

177177
- name: Archive Linux
178-
run: zip linux.zip CMakeHelloWorld
179-
180-
- name: Archive Win32
181-
run: zip win32.zip CMakeHelloWorld.exe
178+
run: zip linux.zip CMakeHelloWorld && zip win32.zip CMakeHelloWorld.exe
182179

183180
- name: Release
184181
uses: ncipollo/release-action@v1
185182
with:
186-
name: "Release ${{ steps.tag.outputs.new_tag }}"
183+
name: "Release ${{ steps.tag_version.outputs.new_tag }}"
187184
artifactContentType: application/zip
188-
artifacts: "linux.zip, win32.zip"
185+
artifacts: "linux.zip,win32.zip"
189186
body: "Linux / Win32 Hello World Binaries"
190187
token: ${{ secrets.GITHUB_TOKEN }}
191188
tag: ${{ steps.tag_version.outputs.new_tag }}

0 commit comments

Comments
 (0)