This repository has been archived by the owner on May 27, 2024. It is now read-only.
Fix some issues with the new mod loading code #71
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: Unstable | |
on: | |
push: | |
branches: [ "main" ] | |
env: | |
BUILD_TYPE: Release | |
jobs: | |
build: | |
runs-on: ${{ matrix.sys.os }} | |
strategy: | |
matrix: | |
sys: | |
- { os: windows-latest, shell: pwsh } | |
- { os: ubuntu-latest, shell: bash } | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
submodules: 'recursive' | |
- name: Install Dependencies | |
if: ${{ matrix.sys.os == 'ubuntu-latest' }} | |
run: sudo apt update && sudo apt install xorg-dev zenity | |
- name: Configure CMake | |
run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DZIP_RELEASE=1 | |
- name: Build | |
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}} --parallel 2 | |
- name: Release | |
uses: ncipollo/release-action@a2e71bdd4e7dab70ca26a852f29600c98b33153e | |
with: | |
name: ${{ github.ref }} | |
tag: 'unstable' | |
artifacts: build/ripped_apart_*.zip | |
allowUpdates: true | |
draft: false | |
omitBodyDuringUpdate: true | |
omitDraftDuringUpdate: true | |
omitNameDuringUpdate: true | |
omitPrereleaseDuringUpdate: true | |
prerelease: true | |
replacesArtifacts: false | |
skipIfReleaseExists: false |