Skip to content

Create GitHub Release #2

Create GitHub Release

Create GitHub Release #2

Workflow file for this run

name: Create GitHub Release
on:
push:
tags:
- 'v*'
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Extract version from tag
run: echo "VERSION=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV
- name: Download Windows Artifact
uses: actions/download-artifact@v4
with:
name: bmhelper_${{ env.VERSION }}_win-x64
path: artifacts/
- name: Download mac-x64 Artifact
uses: actions/download-artifact@v4
with:
name: bmhelper_${{ env.VERSION }}_mac-x64
path: artifacts/
- name: Download mac-arm Artifact
uses: actions/download-artifact@v4
with:
name: bmhelper_${{ env.VERSION }}_mac-arm
path: artifacts/
- name: Create GitHub Release
uses: softprops/action-gh-release@v1
with:
tag_name: ${{ env.VERSION }}
name: BMHelper ${{ env.VERSION }}
body: |
TBD
files: |
artifacts/bmhelper_${{ env.VERSION }}_win-x64.zip
artifacts/bmhelper_${{ env.VERSION }}_mac-x64.dmg
artifacts/bmhelper_${{ env.VERSION }}_mac-arm.dmg