release-$(SYSTEM) #19
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build/Release | |
on: | |
push: | |
tags: | |
- '*' | |
workflow_dispatch: | |
branches: | |
- main | |
jobs: | |
build: | |
name: Build/Release | |
runs-on: ubuntu-latest | |
steps: | |
# Checkout | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
with: | |
lfs: true | |
path: . | |
# Build | |
- name: Build and Zip | |
run: | | |
make zip-all | |
# Release | |
- name: List Files | |
run: | | |
ls -lha | |
find . -name "*.zip" | |
- name: Release | |
uses: softprops/action-gh-release@v1 | |
if: startsWith(github.ref, 'refs/tags/') | |
with: | |
# Identify if this is a pre release by checking if the tag name contains -rc, -b, -a | |
# prerelease: ${{ contains(github.ref, '-rc') || contains(github.ref, '-b') || contains(github.ref, '-a') }} | |
files: Linux.zip | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |