Skip to content

Commit

Permalink
Fixed workflow.
Browse files Browse the repository at this point in the history
  • Loading branch information
nerthul11 committed Jun 14, 2024
1 parent 45b2dfc commit be33522
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,12 @@ jobs:
run: |
wget https://github.com/homothetyhk/HollowKnight.MenuChanger/releases/latest/download/MenuChanger.zip -O MenuChanger.zip
unzip -o MenuChanger.zip -d References
- name: Fetch MoreLocations
run: |
wget https://github.com/BadMagic100/MoreLocations/releases/latest/download/MoreLocations.zip -O MoreLocations.zip
unzip -o MoreLocations.zip -d References
- name: Fetch RandoSettingsManager
run: |
wget https://github.com/BadMagic100/RandoSettingsManager/releases/latest/download/RandoSettingsManager.zip -O RandoSettingsManager.zip
Expand Down Expand Up @@ -72,14 +77,14 @@ jobs:
run: sudo apt-get install -y nuget mono-devel mono-xbuild

- name: Restore packages
run: nuget restore GodhomeRandomizer.csproj
run: nuget restore BreakableWallRandomizer.csproj

- name: Build project
run: dotnet build --configuration Release

- name: Get SHA256 of zipped mod
id: get_hash
run: echo "::set-output name=hash::$(sha256sum Output/GodhomeRandomizer.zip | cut -d ' ' -f 1)"
run: echo "::set-output name=hash::$(sha256sum Output/BreakableWallRandomizer.zip | cut -d ' ' -f 1)"

- name: Get Assembly version
id: get_version
Expand All @@ -103,6 +108,6 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: Output/GodhomeRandomizer.zip
asset_name: GodhomeRandomizer.zip
asset_path: Output/BreakableWallRandomizer.zip
asset_name: BreakableWallRandomizer.zip
asset_content_type: application/zip

0 comments on commit be33522

Please sign in to comment.