Skip to content

release-$(SYSTEM)

release-$(SYSTEM) #19

Workflow file for this run

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 }}