Compare commits

...

12 Commits

Author SHA1 Message Date
Vitalii Mikhailov 2ac3c0a91b
Update action.yml 12 months ago
Vitalii Mikhailov 1481275cc9
Update action.yml 1 year ago
Vitalii Mikhailov de2482fca2
Update action.yml 1 year ago
Vitalii Mikhailov 7b9616721c
Update action.yml 1 year ago
Vitalii Mikhailov 7d245c0984
Update action.yml 1 year ago
Vitalii Mikhailov 3dc6a7bb76
Update action.yml 1 year ago
Vitalii Mikhailov 8aea4be322
Update action.yml 1 year ago
Vitalii Mikhailov e4d1a71866
Update action.yml 1 year ago
Vitalii Mikhailov 16a1b6c1ba
Update action.yml 1 year ago
Vitalii Mikhailov 1b6cc3df66
Update action.yml 1 year ago
Vitalii Mikhailov 889e9e7e16
Update action.yml 1 year ago
Vitalii Mikhailov e5b6721322
Update action.yml 1 year ago

@ -37,7 +37,7 @@ inputs:
depotdownloader-version: depotdownloader-version:
description: '' description: ''
default: '2.5.0' default: '2.7.1'
opencover-version: opencover-version:
description: '' description: ''
default: '4.7.922' default: '4.7.922'
@ -51,17 +51,17 @@ runs:
submodules: 'recursive' submodules: 'recursive'
- name: Setup .NET Core 3.1 - name: Setup .NET Core 3.1
uses: actions/setup-dotnet@v3 uses: actions/setup-dotnet@v4
with: with:
dotnet-version: 3.1.x dotnet-version: 3.1.x
- name: Setup .NET 5 - name: Setup .NET 5
uses: actions/setup-dotnet@v3 uses: actions/setup-dotnet@v4
with: with:
dotnet-version: 5.x.x dotnet-version: 5.x.x
- name: Setup .NET 6 - name: Setup .NET 6
uses: actions/setup-dotnet@v3 uses: actions/setup-dotnet@v4
with: with:
dotnet-version: 6.x.x dotnet-version: 6.x.x
@ -69,6 +69,11 @@ runs:
uses: actions/setup-dotnet@v3 uses: actions/setup-dotnet@v3
with: with:
dotnet-version: 7.x.x dotnet-version: 7.x.x
- name: Setup .NET 8
uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.x.x
- name: Ensure NuGet Source - name: Ensure NuGet Source
uses: fabriciomurta/ensure-nuget-source@v1 uses: fabriciomurta/ensure-nuget-source@v1
@ -77,48 +82,46 @@ runs:
url: 'https://api.nuget.org/v3/index.json' url: 'https://api.nuget.org/v3/index.json'
- name: Setup BUTR GPR - name: Setup BUTR GPR
uses: actions/setup-dotnet@v3 uses: actions/setup-dotnet@v4
with: with:
source-url: https://nuget.pkg.github.com/BUTR/index.json source-url: https://nuget.pkg.github.com/BUTR/index.json
env: env:
NUGET_AUTH_TOKEN: ${{inputs.github-token}} NUGET_AUTH_TOKEN: ${{inputs.github-token}}
- name: Download DepotDownloader_${{inputs.depotdownloader-version}} - name: Download DepotDownloader_${{inputs.depotdownloader-version}}
uses: robinraju/release-downloader@v1.7 uses: robinraju/release-downloader@v1
with: with:
repository: SteamRE/DepotDownloader repository: SteamRE/DepotDownloader
tag: DepotDownloader_${{inputs.depotdownloader-version}} tag: DepotDownloader_${{inputs.depotdownloader-version}}
fileName: depotdownloader-${{inputs.depotdownloader-version}}.zip fileName: DepotDownloader-windows-x64.zip
- name: Extract DepotDownloader_${{inputs.depotdownloader-version}} - name: Extract DepotDownloader_${{inputs.depotdownloader-version}}
uses: DuckSoft/extract-7z-action@v1.0 uses: DuckSoft/extract-7z-action@v1.0
with: with:
pathSource: depotdownloader-${{inputs.depotdownloader-version}}.zip pathSource: DepotDownloader-windows-x64.zip
pathTarget: depotdownloader pathTarget: depotdownloader
- name: Download Game Binaries (Stable) - name: Download Game Binaries (Stable)
run: >- run: >-
if ('${{inputs.stable-version}}' -eq '') { Return }; if ('${{inputs.stable-version}}' -eq '') { Return };
dotnet depotdownloader/DepotDownloader.dll -app ${{inputs.steam-appid}} -depot ${{inputs.steam-depotid}} -beta ${{inputs.stable-version}} -username ${{inputs.steam-login}} depotdownloader/DepotDownloader.exe -app ${{inputs.steam-appid}} -depot ${{inputs.steam-depotid}} -beta ${{inputs.stable-version}} -username ${{inputs.steam-login}}
-password ${{inputs.steam-password}} -os windows -osarch 64 -filelist ${{inputs.steam-filefilter}} -dir ${{inputs.stable-directory}}; -password ${{inputs.steam-password}} -os windows -osarch 64 -filelist ${{inputs.steam-filefilter}} -dir ${{inputs.stable-directory}};
shell: pwsh shell: pwsh
- name: Download Game Binaries (Beta) - name: Download Game Binaries (Beta)
run: >- run: >-
if ('${{inputs.beta-version}}' -eq '') { Return }; if ('${{inputs.beta-version}}' -eq '') { Return };
dotnet depotdownloader/DepotDownloader.dll -app ${{inputs.steam-appid}} -depot ${{inputs.steam-depotid}} -beta ${{inputs.beta-version}} -username ${{inputs.steam-login}} depotdownloader/DepotDownloader.exe -app ${{inputs.steam-appid}} -depot ${{inputs.steam-depotid}} -beta ${{inputs.beta-version}} -username ${{inputs.steam-login}}
-password ${{inputs.steam-password}} -os windows -osarch 64 -filelist ${{inputs.steam-filefilter}} -dir ${{inputs.beta-directory}}; -password ${{inputs.steam-password}} -os windows -osarch 64 -filelist ${{inputs.steam-filefilter}} -dir ${{inputs.beta-directory}};
shell: pwsh shell: pwsh
- name: Download opencover.${{inputs.opencover-version}} - name: Download opencover.${{inputs.opencover-version}}
uses: robinraju/release-downloader@v1.7 uses: robinraju/release-downloader@v1
with: with:
repository: OpenCover/opencover repository: OpenCover/opencover
tag: ${{inputs.opencover-version}} tag: ${{inputs.opencover-version}}
file: opencover.${{inputs.opencover-version}}.zip file: opencover.${{inputs.opencover-version}}.zip
- name: Extract opencover.${{inputs.opencover-version}} - name: Extract opencover.${{inputs.opencover-version}}
uses: DuckSoft/extract-7z-action@v1.0 run: Expand-Archive -Path "${{github.workspace}}/opencover.${{inputs.opencover-version}}.zip" -DestinationPath "${{github.workspace}}/opencover"
with: shell: pwsh
pathSource: opencover.${{inputs.opencover-version}}.zip
pathTarget: opencover

Loading…
Cancel
Save