Build and Release #4
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: Create Release | |
on: | |
workflow_dispatch: # Enable manual execution | |
workflow_run: | |
workflows: | |
- Windows Build | |
- Linux Build | |
- MacOS Build | |
types: | |
- completed | |
jobs: | |
release: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Download Artifacts | |
uses: actions/download-artifact@v3 | |
with: | |
name: gogg-windows-amd64 | |
- name: Download Linux Artifact | |
uses: actions/download-artifact@v4 | |
with: | |
name: gogg-linux-amd64 | |
- name: Download MacOS Artifact | |
uses: actions/download-artifact@v4 | |
with: | |
name: gogg-macos-universal | |
- name: List Downloaded Files (Debugging) | |
run: ls -R . | |
- name: Create GitHub Release | |
uses: ncipollo/release-action@v1 | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
name: ${{ github.ref_name }} | |
tag: ${{ github.ref_name }} | |
body: | | |
Release version ${{ github.ref_name }} | |
- Includes binaries for Windows, Linux, and macOS. | |
artifacts: | | |
gogg-windows-amd64.zip | |
gogg-linux-amd64.zip | |
gogg-macos-universal.zip | |
draft: false | |
prerelease: false |