From 648bdafbfccf8377f45df46f144a38c680102b70 Mon Sep 17 00:00:00 2001 From: Ottermandias <70807659+Ottermandias@users.noreply.github.com> Date: Tue, 28 Sep 2021 15:53:38 +0200 Subject: [PATCH] Update release.yml Fuck, this writes the functions itself. --- .github/workflows/release.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 106a69af..a16039a9 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -18,7 +18,7 @@ jobs: run: dotnet restore - name: Download Dalamud run: | - Invoke-WebRequest -Uri https://goatcorp.github.io/dalamud-distrib/latest.zip -OutFile latest.zip + Invoke-WebRequest -Uri https://goatcorp.github.io/dalamud-distrib/stg/latest.zip -OutFile latest.zip Expand-Archive -Force latest.zip "$env:AppData\XIVLauncher\addon\Hooks\dev" - name: Build run: | @@ -27,17 +27,17 @@ jobs: - name: write version into json run: | $ver = '${{ github.ref }}' -replace 'refs/tags/','' - $path = './Penumbra/bin/Release/net472/Penumbra.json' + $path = './Penumbra/bin/Release/net5.0-windows/Penumbra.json' $content = get-content -path $path $content = $content -replace '1.0.0.0',$ver set-content -Path $path -Value $content - name: Archive - run: Compress-Archive -Path Penumbra/bin/Release/net472/* -DestinationPath Penumbra.zip + run: Compress-Archive -Path Penumbra/bin/Release/net5.0-windows/* -DestinationPath Penumbra.zip - name: Upload a Build Artifact uses: actions/upload-artifact@v2.2.1 with: path: | - ./Penumbra/bin/Release/net472/* + ./Penumbra/bin/Release/net5.0-windows/* - name: Create Release id: create_release uses: actions/create-release@v1 @@ -57,4 +57,4 @@ jobs: upload_url: ${{ steps.create_release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps asset_path: ./Penumbra.zip asset_name: Penumbra.zip - asset_content_type: application/zip \ No newline at end of file + asset_content_type: application/zip