Update build.yml

This commit is contained in:
Ottermandias 2021-09-28 15:44:56 +02:00 committed by GitHub
parent e751a5dfff
commit 8306c711d7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -19,15 +19,15 @@ jobs:
run: dotnet restore run: dotnet restore
- name: Download Dalamud - name: Download Dalamud
run: | 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\" Expand-Archive -Force latest.zip "$env:AppData\XIVLauncher\addon\Hooks\dev\"
- name: Build - name: Build
run: | run: |
dotnet build --no-restore --configuration Release --nologo dotnet build --no-restore --configuration Release --nologo
- name: Archive - 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 - name: Upload a Build Artifact
uses: actions/upload-artifact@v2.2.1 uses: actions/upload-artifact@v2.2.1
with: with:
path: | path: |
./Penumbra/bin/Release/net472/* ./Penumbra/bin/Release/net472/*