Skip to content

Commit c98f2da

Browse files
authored
Update cicd.yml
1 parent 2e3e744 commit c98f2da

File tree

1 file changed

+12
-33
lines changed

1 file changed

+12
-33
lines changed

.github/workflows/cicd.yml

Lines changed: 12 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -164,50 +164,29 @@ jobs:
164164
release_name: Release ${{ steps.tag_version.outputs.new_tag }}
165165
body: ${{ steps.tag_version.outputs.changelog }}
166166

167-
release-artifacts-linux:
168-
name: Linux Release
169-
runs-on: ubuntu-latest
170-
needs: [tag-release]
171-
172-
steps:
173-
- name: Download
167+
- name: Download Linux
174168
uses: actions/download-artifact@v2
175169
with:
176170
name: linux-hello-world
177171

178-
- name: Archive
179-
run: zip linux.zip CMakeHelloWorld
180-
181-
- name: Release
182-
uses: ncipollo/release-action@v1
183-
with:
184-
name: "Release ${{ steps.tag.outputs.new_tag }}"
185-
artifactContentType: application/zip
186-
artifacts: "linux.zip"
187-
body: "Latest packaged client and server"
188-
token: ${{ secrets.GITHUB_TOKEN }}
189-
tag: ${{ steps.tag.outputs.new_tag }}
190-
191-
release-artifacts-win32:
192-
name: Win32 Release
193-
runs-on: windows-latest
194-
needs: [tag-release]
195-
196-
steps:
197-
- name: Download
172+
- name: Download Win32
198173
uses: actions/download-artifact@v2
199174
with:
200-
name: win32-hello-world
175+
name: win32-hello-world
201176

202-
- name: Archive
203-
run: Compress-Archive -Path "$env:GITHUB_WORKSPACE\CMakeHelloWorld.exe" -DestinationPath "$env:GITHUB_WORKSPACE\win32.zip"
177+
- name: Archive Linux
178+
run: zip linux.zip CMakeHelloWorld
179+
180+
- name: Archive Win32
181+
run: zip win32.zip CMakeHelloWorld.exe
204182

205183
- name: Release
206184
uses: ncipollo/release-action@v1
207185
with:
208186
name: "Release ${{ steps.tag.outputs.new_tag }}"
209187
artifactContentType: application/zip
210-
artifacts: "win32.zip"
211-
body: "Latest packaged client and server"
188+
artifacts: "linux.zip, win32.zip"
189+
body: "Linux / Win32 Hello World Binaries"
212190
token: ${{ secrets.GITHUB_TOKEN }}
213-
tag: ${{ steps.tag.outputs.new_tag }}
191+
tag: ${{ steps.tag.outputs.new_tag }}
192+

0 commit comments

Comments
 (0)