Skip to content

Commit

Permalink
Update cicd.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
cvega authored May 6, 2021
1 parent 5c3c8c1 commit 9272f24
Showing 1 changed file with 11 additions and 14 deletions.
25 changes: 11 additions & 14 deletions .github/workflows/cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -155,14 +155,14 @@ jobs:
with:
github_token: ${{ secrets.GITHUB_TOKEN }}

- name: release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ steps.tag_version.outputs.new_tag }}
release_name: Release ${{ steps.tag_version.outputs.new_tag }}
body: ${{ steps.tag_version.outputs.changelog }}
#- name: release
# uses: actions/create-release@v1
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# with:
# tag_name: ${{ steps.tag_version.outputs.new_tag }}
# release_name: Release ${{ steps.tag_version.outputs.new_tag }}
# body: ${{ steps.tag_version.outputs.changelog }}

- name: Download Linux
uses: actions/download-artifact@v2
Expand All @@ -175,17 +175,14 @@ jobs:
name: win32-hello-world

- name: Archive Linux
run: zip linux.zip CMakeHelloWorld

- name: Archive Win32
run: zip win32.zip CMakeHelloWorld.exe
run: zip linux.zip CMakeHelloWorld && zip win32.zip CMakeHelloWorld.exe

- name: Release
uses: ncipollo/release-action@v1
with:
name: "Release ${{ steps.tag.outputs.new_tag }}"
name: "Release ${{ steps.tag_version.outputs.new_tag }}"
artifactContentType: application/zip
artifacts: "linux.zip, win32.zip"
artifacts: "linux.zip,win32.zip"
body: "Linux / Win32 Hello World Binaries"
token: ${{ secrets.GITHUB_TOKEN }}
tag: ${{ steps.tag_version.outputs.new_tag }}
Expand Down

0 comments on commit 9272f24

Please sign in to comment.