Skip to content

Commit

Permalink
Add GitHub Actions Build Script
Browse files Browse the repository at this point in the history
  • Loading branch information
UndeadZeratul committed Aug 5, 2023
1 parent d43e8a2 commit f8f7f49
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Release PK3s

on:
push:
tags:
- "v*.*.*"

jobs:
buildAndRelease:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: build PK3
uses: montudor/action-zip@v1
with:
args: zip -r "Merchant-${{ github.ref_name }}.pk3" . -i graphics/* models/* patches/* sounds/* sprites/* zscript/* CREDITS.* CVARINFO GLDEFS KEYCONF LANGUAGE LICENSE MAPINFO MENUDEF MODELDEF README.* SNDINFO TEXTURES.* zscript.zsc
- name: Release PK3
uses: softprops/[email protected]
with:
generate_release_notes: true
discussion_category_name: 'Releases'
files: ./*.pk3

0 comments on commit f8f7f49

Please sign in to comment.