mirror of
https://github.com/iDescriptor/iDescriptor.git
synced 2026-06-22 03:45:51 +08:00
49 lines
998 B
YAML
49 lines
998 B
YAML
name: Build & Release iDescriptor
|
|
|
|
on:
|
|
push:
|
|
tags:
|
|
- "v*"
|
|
workflow_dispatch:
|
|
permissions:
|
|
contents: write
|
|
|
|
jobs:
|
|
build-linux:
|
|
uses: ./.github/workflows/build-linux.yml
|
|
with:
|
|
version: ${{ github.ref_name }}
|
|
secrets: inherit
|
|
|
|
build-windows:
|
|
uses: ./.github/workflows/build-windows.yml
|
|
with:
|
|
version: ${{ github.ref_name }}
|
|
secrets: inherit
|
|
|
|
build-macos:
|
|
uses: ./.github/workflows/build-macos.yml
|
|
with:
|
|
version: ${{ github.ref_name }}
|
|
secrets: inherit
|
|
|
|
release:
|
|
needs: [build-linux, build-windows, build-macos]
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- name: Prepare output folder
|
|
run: mkdir target
|
|
|
|
- name: Download all artifacts
|
|
uses: actions/download-artifact@v6
|
|
with:
|
|
path: target
|
|
|
|
- name: Create GitHub Release
|
|
uses: softprops/action-gh-release@v2
|
|
with:
|
|
files: target/*/*
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|