Skip to content

Commit

Permalink
[uni] update release.yml
Browse files Browse the repository at this point in the history
add auto releases
  • Loading branch information
snowfoxsh authored Feb 13, 2025
1 parent c2c62f7 commit dd7311e
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@ name: Build Artifacts

on:
workflow_dispatch:
inputs:
do_release:
description: "Perform a release?"
required: true
type: boolean
default: false

push:
tags:
- "v*"
Expand Down Expand Up @@ -111,4 +118,17 @@ jobs:

- name: List Downloaded Files
run: ls -R artifacts

- name: Create GitHub Release
if: github.event.inputs.do_release == 'true'
uses: softprops/action-gh-release@v2
with:
prerelease: true
draft: true
generate_release_notes: true
files: |
artifacts/windows-binary/aplang.exe
artifacts/windows-portable-binary/aplang-portable.exe
artifacts/macos-binary/aplang
artifacts/macos-portable/aplang-portable

0 comments on commit dd7311e

Please # to comment.