ci: upgrade upload/download artifact actions #25
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Create a new release | |
name: Release | |
on: | |
# Build & deploy for tag events matching v*, i.e. v1.0.0, v20.15.10 | |
push: | |
tags: | |
- "v*" | |
concurrency: | |
group: ci-release-${{ github.ref }}-1 | |
cancel-in-progress: true | |
jobs: | |
call-tests: | |
uses: ./.github/workflows/tests.yml | |
call-build-linux: | |
needs: call-tests | |
uses: ./.github/workflows/build-linux.yml | |
with: | |
pre-release: false | |
secrets: inherit | |
call-build-windows: | |
needs: call-tests | |
uses: ./.github/workflows/build-windows.yml | |
with: | |
pre-release: false | |
secrets: inherit | |
release: | |
name: "Release" | |
needs: [call-build-linux, call-build-windows] | |
runs-on: "ubuntu-latest" | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Download artifacts | |
uses: actions/download-artifact@v4 | |
with: | |
path: artifacts | |
- name: Create Draft Release & Upload artifacts | |
uses: marvinpinto/[email protected] | |
with: | |
repo_token: "${{ secrets.GITHUB_TOKEN }}" | |
draft: true | |
prerelease: false | |
files: | | |
${{ github.workspace }}/artifacts/linux-artifacts/* | |
${{ github.workspace }}/artifacts/windows-artifacts/* |