Skip to content

Build

Build #2

Workflow file for this run

name: Build
on: [create]
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
release:
runs-on: ubuntu-latest
if: github.event_name == 'create' && github.event.ref_type == 'tag'
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
submodules: "true"
- name: Create release artifacts
run: |
chmod +x tools/create_release.sh
./tools/create_release.sh
- name: Create GitHub Release
uses: softprops/action-gh-release@v2
with:
files: build/*
draft: false
prerelease: false
generate_release_notes: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}