Skip to content

Commit

Permalink
Merge pull request #21 from UndeadZeratul/main
Browse files Browse the repository at this point in the history
Update Build Script, add Build Status Badge to readme
  • Loading branch information
UndeadZeratul authored Feb 6, 2024
2 parents 13b6945 + 711fa25 commit 0835ee3
Show file tree
Hide file tree
Showing 4 changed files with 41 additions and 8 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/build-pk3/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
name: Build PK3
description: Builds the PK3
runs:
using: "composite"
steps:
- uses: actions/checkout@v4
- uses: montudor/action-zip@v1
with:
args: zip -r "icarus-innovations-improved-${{ env.SUFFIX }}.pk3" . -i graphics/* patches/* sounds/* sprites/* zscript/* CVARINFO DECALDEF.* GLDEFS.* KEYCONF LANGUAGE.* LICENSE MAPINFO MENUDEF README.* SNDINFO.* TEXTURES.* zscript.zs
22 changes: 22 additions & 0 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Nightly Build

on:
workflow_dispatch:
schedule:
- cron: "0 0 * * *"

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- id: build-suffix
shell: bash
run: echo "SUFFIX=${{ github.ref_name }}-$(date +'%Y%m%d')" >> "$GITHUB_OUTPUT"
- uses: ./.github/workflows/build-pk3
env:
SUFFIX: ${{ steps.build-suffix.outputs.SUFFIX }}
- uses: actions/upload-artifact@v4
with:
name: Artifacts
path: ./*.pk3
16 changes: 8 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@ 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 "icarus-innovations-improved-${{ github.ref_name }}.pk3" . -i graphics/* patches/* sounds/* sprites/* zscript/* CVARINFO DECALDEF.* GLDEFS.* KEYCONF LANGUAGE.* LICENSE MAPINFO MENUDEF README.* SNDINFO.* TEXTURES.* zscript.zs
- name: Release PK3
uses: softprops/action-gh-release@v0.1.7
- uses: actions/checkout@v4
- id: build-suffix
shell: bash
run: echo "SUFFIX=${{ github.ref_name }} >> "$GITHUB_OUTPUT"
- uses: ./.github/workflows/build-pk3
env:
SUFFIX: ${{ steps.build-suffix.outputs.SUFFIX }}
- uses: softprops/action-gh-release@v0.1.7
with:
generate_release_notes: true
discussion_category_name: 'Releases'
Expand Down
2 changes: 2 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# Icarus Innovations, Improved

[![Nightly Build](https://github.com/HDest-Community/icarus-innovations-improved/actions/workflows/nightly.yml/badge.svg)](https://github.com/HDest-Community/icarus-innovations-improved/actions/workflows/nightly.yml)

_Requires [BulletLib - Recasted](https://github.com/HDest-Community/HDBulletLib-Recasted) and [AceCoreLib](https://github.com/HDest-Community/AceCoreLib), by the HDest Community._

This mod aims to maintain and improve Icarus's Innovations, by updating them to the latest HDest main, as well as tweaking/fixing any bugs that come along the way. All weapons can be found naturally, as well as dropping from [Weapon Crates](https://github.com/HDest-Community/weapon-crate) and being sold by the [Merchant](https://github.com/HDest-Community/merchant).
Expand Down

0 comments on commit 0835ee3

Please sign in to comment.