Skip to content

Commit

Permalink
fix: workflow fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
lodicolo committed May 7, 2023
1 parent e6af5d8 commit 884c8c1
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/build.0.7.2-beta.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,13 +53,13 @@ jobs:
Intersect*/obj/
- name: Add msbuild to PATH
if: steps.cache-binaries.outputs.cache-hit != 'true' && steps.cache-nuget.outputs.cache-hit != 'true' || inputs.forceBuild == true || inputs.forceRestore == true
if: steps.cache-binaries.outputs.cache-hit != 'true' || steps.cache-nuget.outputs.cache-hit != 'true' || inputs.forceBuild == true || inputs.forceRestore == true
uses: microsoft/setup-msbuild@v1
with:
msbuild-architecture: x64

- name: Setup NuGet.exe for use with actions
if: steps.cache-binaries.outputs.cache-hit != 'true' && steps.cache-nuget.outputs.cache-hit != 'true' || inputs.forceBuild == true || inputs.forceRestore == true
if: steps.cache-binaries.outputs.cache-hit != 'true' || steps.cache-nuget.outputs.cache-hit != 'true' || inputs.forceBuild == true || inputs.forceRestore == true
# You may pin to the exact commit or the version.
# uses: NuGet/setup-nuget@fd9fffd6ca4541cf4152a9565835ca1a88a6eb37
uses: NuGet/setup-nuget@v1
Expand All @@ -72,11 +72,11 @@ jobs:
# nuget-api-key-source: # optional

- name: Restore NuGet Packages
if: steps.cache-binaries.outputs.cache-hit != 'true' && steps.cache-nuget.outputs.cache-hit != 'true' || inputs.forceBuild == true || inputs.forceRestore == true
if: steps.cache-binaries.outputs.cache-hit != 'true' && steps.cache-nuget.outputs.cache-hit != 'true' || inputs.forceRestore == true
run: nuget restore Intersect.sln

- name: Build solution
if: steps.cache-binaries.outputs.cache-hit != 'true' && steps.cache-nuget.outputs.cache-hit != 'true' || inputs.forceBuild == true || inputs.forceRestore == true
if: steps.cache-binaries.outputs.cache-hit != 'true' || inputs.forceBuild == true || inputs.forceRestore == true
run: msbuild Intersect.sln /p:Configuration=Release /p:PackageVersion=${{ env.VERSION_PREFIX }}${{ env.VERSION_SUFFIX }}.${{ github.run_number }}+build.${{ github.sha }} /p:Version=0.7.2.${{ github.run_number }}

- name: Checkout assets main_upgrade branch
Expand Down Expand Up @@ -128,11 +128,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Publish to Forum
uses: AscensionGameDev/actions@1931e0237d9bc185277faa3a10e875a95fffadce
uses: AscensionGameDev/actions@fa9bfe32052f7d19f92b41d530641c0ccb7d7306
with:
api-key: ${{ secrets.INTERSECTBOT_FORUM_TOKEN }}
build: ${{ github.run_number }}
hash: ${{ github.sha }}
topic-id: ${{ vars.INTERSECTBOT_FORUM_TOPIC_ID }}
version: ${{ env.VERSION_PREFIX }}${{ env.VERSION_SUFFIX }}


0 comments on commit 884c8c1

Please sign in to comment.