Publish installable desktop releases on main updates
All checks were successful
Publish desktop game builds / release (push) Successful in 4m14s
All checks were successful
Publish desktop game builds / release (push) Successful in 4m14s
This commit is contained in:
25
.gitea/workflows/release.yml
Normal file
25
.gitea/workflows/release.yml
Normal file
@@ -0,0 +1,25 @@
|
||||
name: Publish desktop game builds
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [main]
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
release:
|
||||
if: github.ref == 'refs/heads/main'
|
||||
runs-on: big-ship-unity
|
||||
steps:
|
||||
- name: Check out the update
|
||||
uses: https://github.com/actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
||||
with:
|
||||
ref: ${{ github.sha }}
|
||||
persist-credentials: false
|
||||
|
||||
- name: Verify and package the desktop players
|
||||
run: bash Scripts/release.sh build
|
||||
|
||||
- name: Publish the packages to Gitea Releases
|
||||
env:
|
||||
RELEASE_TOKEN: ${{ secrets.GITEA_TOKEN }}
|
||||
run: bash Scripts/release.sh publish
|
||||
Reference in New Issue
Block a user