Skip to content

Inventory and re-writing all of the enemy logic #45

Inventory and re-writing all of the enemy logic

Inventory and re-writing all of the enemy logic #45

Workflow file for this run

name: .NET
on:
push:
tags:
- "v*.*.*"
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- name: Setup .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: 8.0.x
- name: Restore dependencies
run: dotnet restore
- name: Publish
run: dotnet publish --configuration Release -r win-x64 --self-contained true -p:PublishSingleFile=true -p:IncludeAllContentForSelfExtract=true
- name: Easy Zip Files
uses: vimtor/action-zip@v1
with:
files: bin/Release/net8.0/win-x64/publish/
dest: 'November-Pirates-win-${{ github.ref_name }}.zip'
- name: GH Release
uses: softprops/[email protected]
with:
files: 'November-Pirates-win-${{ github.ref_name }}*'
- name: Upload a Build Artifact
uses: actions/[email protected]
with:
name: 'November-Pirates-win-${{ github.ref_name }}.zip'
path: 'November-Pirates-win-${{ github.ref_name }}.zip'
retention-days: 1
itch:
runs-on: ubuntu-latest
environment: itch
needs: build
steps:
- name: Download a Build Artifact
uses: actions/[email protected]
with:
# Artifact name
name: 'November-Pirates-win-${{ github.ref_name }}.zip'
path: 'November-Pirates-win-${{ github.ref_name }}.zip'
- name: Itch.io - Publish
uses: KikimoraGames/[email protected]
with:
butlerApiKey: ${{ secrets.BUTLER_CREDENTIALS }}
gameData: 'November-Pirates-win-${{ github.ref_name }}.zip'
itchUsername: nhawdge
itchGameId: november-pirates
buildChannel: windows
buildNumber: ${{ github.ref_name }}