mirror of
https://github.com/0x2E/fusion.git
synced 2026-06-18 18:34:31 +00:00
36 lines
807 B
YAML
36 lines
807 B
YAML
name: release
|
|
|
|
on:
|
|
push:
|
|
tags:
|
|
- "v*.*.*"
|
|
|
|
permissions:
|
|
contents: write
|
|
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.ref }}
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
release:
|
|
runs-on: ubuntu-latest
|
|
timeout-minutes: 45
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v6
|
|
with:
|
|
fetch-depth: 0
|
|
- name: Set up toolchains
|
|
uses: ./.github/actions/setup-toolchains
|
|
with:
|
|
setup-node: "true"
|
|
- name: Build release artifacts
|
|
run: ./scripts.sh release
|
|
- name: Create GitHub Release
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
run: |
|
|
gh release create ${GITHUB_REF_NAME} ./dist/*.zip ./dist/fusion-linux-* ./dist/checksums.txt \
|
|
--draft --generate-notes
|