Update dotnet.yml

This commit is contained in:
Rafi
2023-05-26 14:43:45 +07:00
committed by GitHub
parent b974941eed
commit f19965dabb

View File

@@ -20,20 +20,15 @@ jobs:
uses: actions/setup-dotnet@v3 uses: actions/setup-dotnet@v3
with: with:
dotnet-version: 6.0.x dotnet-version: 6.0.x
- name: Download & Extract - name: Download Resources
# You may pin to the exact commit or the version. run: curl -o Resources.zip ***REMOVED***
# uses: gamedev-thingy/Download-Extract@20063b5f6b2b847425c9e3ff02830b19bcb66d70 - name: Unzip Resources
uses: gamedev-thingy/Download-Extract@done run: unzip Resources.zip -d Common
with:
# The URL to download from
url: ***REMOVED***
# Where the files will be extracted to
destination: ./Common/
# Name of the downloaded ZIP file
ZIPname: Resources
- name: Restore dependencies - name: Restore dependencies
run: dotnet restore run: dotnet restore
- name: Build - name: Build
run: dotnet build --no-restore run: dotnet build --no-restore
- name: Test - name: Test
run: dotnet test --no-build --verbosity normal run: dotnet test --no-build --verbosity normal
- name: Clean up
run: rm Resources.zip