Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkenJaden committed Jan 24, 2023
2 parents b9f533e + 0d1cf15 commit 2dcfbb0
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/dev-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,21 +42,18 @@ jobs:
- name: Install dependencies
run: dotnet restore

- name: Build Debug
run: dotnet build LandOfSignals-Signalbox.sln -c Debug

- name: Build Release
run: dotnet build LandOfSignals-Signalbox.sln -c Release -bl

- name: Publish
run: dotnet publish -o ./publish -r win-x64 -c Release --self-contained LandOfSignals-Signalbox/LandOfSignals-Signalbox.csproj
run: dotnet publish -r win-x64 -c Release --self-contained LandOfSignals-Signalbox/Server/LandOfSignals-Signalbox.Server.csproj

- name: Install zip
uses: montudor/action-zip@v1

- name: Zip signalbox
run: zip -qq -r signalbox.zip *
working-directory: publish
working-directory: LandOfSignals-Signalbox/Server/bin/Release/net6.0/win-x64/publish

- name: Release
uses: "marvinpinto/action-automatic-releases@latest"
Expand All @@ -65,4 +62,4 @@ jobs:
automatic_release_tag: "latest"
prerelease: false
title: "Development Build"
files: LandOfSignals-Signalbox/bin/Release/net6.0/win-x64/publish/signalbox.zip
files: LandOfSignals-Signalbox/Server/bin/Release/net6.0/win-x64/publish/signalbox.zip

0 comments on commit 2dcfbb0

Please sign in to comment.