Build on Tag #59
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
name: Build on Tag | ||
on: | ||
push: | ||
tags: | ||
- 'v*' | ||
# branches: | ||
# - main | ||
jobs: | ||
macos: | ||
strategy: | ||
matrix: | ||
os: [ macos-13, macos-latest ] | ||
uses: ./.github/workflows/_build-macos.yaml | ||
Check failure on line 15 in .github/workflows/tag.yaml GitHub Actions / Build on TagInvalid workflow file
|
||
with: | ||
os: ${{ matrix.os }} | ||
windows: | ||
uses: ./.github/workflows/_build-windows.yaml | ||
# linux: | ||
# uses: ./.github/workflows/_build-linux.yaml | ||
release: | ||
name: "Release" | ||
runs-on: ubuntu-latest | ||
needs: | ||
- macos | ||
- windows | ||
if: always() && !cancelled() && !contains(needs.*.result, 'failure') | ||
steps: | ||
- name: Download artifacts | ||
uses: actions/download-artifact@v4 | ||
with: | ||
path: release | ||
merge-multiple: true | ||
- name: Display structure of downloaded files | ||
run: ls -R release | ||
- name: Create GitHub Release | ||
id: create_release | ||
uses: softprops/action-gh-release@v2 | ||
with: | ||
files: | | ||
release/* | ||
generate_release_notes: true |