Skip to content

Commit

Permalink
Merge branch 'develop' of github.com:nhthn/canvas into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
nhthn committed Sep 15, 2021
2 parents 3bd2f02 + 35f35a8 commit 03ca579
Showing 1 changed file with 19 additions and 5 deletions.
24 changes: 19 additions & 5 deletions .github/workflows/actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,6 @@ env:

jobs:
linux:
# The CMake configure and build commands are platform agnostic and should work equally
# well on Windows or Mac. You can convert this to a matrix build if you need
# cross-platform coverage.
# See: https://docs.github.com/en/free-pro-team@latest/actions/learn-github-actions/managing-complex-workflows#using-a-build-matrix
runs-on: ubuntu-latest

steps:
Expand Down Expand Up @@ -171,6 +167,24 @@ jobs:
- name: Upload artifacts
uses: actions/upload-artifact@v2
with:
name: canvas-windows-x64.zip
name: canvas-windows-x64
path: ${{github.workspace}}/build/${{env.BUILD_TYPE}}/*
retention-days: 7

deploy_gh:
if: startsWith(github.ref, 'refs/tags/')
needs: [windows]
runs-on: ubuntu-latest
env:
DOWNLOAD_PATH: ${{github.workspace}}/download
steps:
- name: download artifacts
uses: actions/download-artifact@v2
with:
path: ${{env.DOWNLOAD_PATH}} # no "name" paramter - download all artifacts
- name: upload to the release page
uses: softprops/action-gh-release@v1
with:
files: |
${{env.DOWNLOAD_PATH}}/*
draft: true

0 comments on commit 03ca579

Please sign in to comment.