Skip to content

Fix dragon critters not creatable #47

Fix dragon critters not creatable

Fix dragon critters not creatable #47

Workflow file for this run

# This is a basic workflow to help you get started with Actions
name: Automated build
# Controls when the workflow will run
on:
# Triggers the workflow on push or pull request events but only for the master branch
push:
branches: [ master ]
pull_request:
branches: [ master ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
# This workflow contains a single job called "build"
build:
# The type of runner that the job will run on
runs-on: [windows-latest]
steps:
- name: Check out
uses: actions/checkout@v4
with:
fetch-depth: 0
filter: tree:0
- name: Setup MSBuild
uses: microsoft/[email protected]
- name: Setup NuGet
uses: NuGet/setup-nuget@v1
- name: Restore NuGet packages
run: nuget restore ChummerGenSR4.sln
- uses: benjlevesque/[email protected]
id: short-sha
with:
length: 6
- name: run minver
id: version
uses: Stelzi79/[email protected]
with:
auto-increment: patch
build-metadata: ${{ steps.short-sha.outputs.sha }}
default-pre-release-phase: preview
minimum-major-minor: 0.1
tag-prefix: v
- name: Set project versions
id: update
uses: vers-one/[email protected]
with:
file: |
"**/AssemblyInfo.cs"
version: ${{ steps.version.outputs.version }}
- name: Build the solution
run: msbuild ChummerGenSR4.sln /p:Configuration=Release
- name: Zip Release
uses: TheDoctor0/[email protected]
with:
type: 'zip'
filename: "ChummerGenSR4.zip"
path: "bin"
- name: Upload build artifact
uses: actions/upload-artifact@v3
with:
name: "ChummerGenSR4-${{ steps.version.outputs.version }}.zip"
path: "ChummerGenSR4.zip"