Compare commits

..

No commits in common. 'master' and 'v1.4' have entirely different histories.
master ... v1.4

@ -37,7 +37,7 @@ inputs:
depotdownloader-version: depotdownloader-version:
description: '' description: ''
default: '3.1.0' default: '2.3.6'
opencover-version: opencover-version:
description: '' description: ''
default: '4.7.922' default: '4.7.922'
@ -46,34 +46,18 @@ runs:
using: "composite" using: "composite"
steps: steps:
- name: Checkout Repository - name: Checkout Repository
uses: actions/checkout@v3 uses: actions/checkout@v2
with:
submodules: 'recursive'
- name: Setup .NET Core 3.1 - name: Setup .NET Core 3.1
uses: actions/setup-dotnet@v4 uses: actions/setup-dotnet@master
with: with:
dotnet-version: 3.1.x dotnet-version: 3.1.x
- name: Setup .NET 5 - name: Setup .NET 5
uses: actions/setup-dotnet@v4 uses: actions/setup-dotnet@master
with:
dotnet-version: 5.x.x
- name: Setup .NET 6
uses: actions/setup-dotnet@v4
with:
dotnet-version: 6.x.x
- name: Setup .NET 7
uses: actions/setup-dotnet@v3
with:
dotnet-version: 7.x.x
- name: Setup .NET 8
uses: actions/setup-dotnet@v4
with: with:
dotnet-version: 8.x.x dotnet-version: 5.0.x
- name: Ensure NuGet Source - name: Ensure NuGet Source
uses: fabriciomurta/ensure-nuget-source@v1 uses: fabriciomurta/ensure-nuget-source@v1
@ -82,48 +66,50 @@ 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@v4 uses: actions/setup-dotnet@master
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}}
id: download_depotdownloader uses: i3h/download-release-asset@v1
uses: robinraju/release-downloader@v1
with: with:
repository: SteamRE/DepotDownloader owner: SteamRE
repo: DepotDownloader
tag: DepotDownloader_${{inputs.depotdownloader-version}} tag: DepotDownloader_${{inputs.depotdownloader-version}}
fileName: DepotDownloader-windows-x64.zip file: depotdownloader-${{inputs.depotdownloader-version}}.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: ${{fromJson(steps.download_depotdownloader.outputs.downloaded_files)[0]}} pathSource: depotdownloader-${{inputs.depotdownloader-version}}.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 '') { throw "Stable version missing!" };
depotdownloader/DepotDownloader.exe -app ${{inputs.steam-appid}} -depot ${{inputs.steam-depotid}} -beta ${{inputs.stable-version}} -username ${{inputs.steam-login}} dotnet depotdownloader/DepotDownloader.dll -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}} -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 };
depotdownloader/DepotDownloader.exe -app ${{inputs.steam-appid}} -depot ${{inputs.steam-depotid}} -beta ${{inputs.beta-version}} -username ${{inputs.steam-login}} dotnet depotdownloader/DepotDownloader.dll -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}} -filelist ${{inputs.steam-filefilter}} -dir ${{inputs.beta-directory}};
shell: pwsh shell: pwsh
- name: Download opencover.${{inputs.opencover-version}} - name: Download opencover.${{inputs.opencover-version}}
id: download_opencover uses: i3h/download-release-asset@v1
uses: robinraju/release-downloader@v1
with: with:
repository: OpenCover/opencover owner: OpenCover
repo: opencover
tag: ${{inputs.opencover-version}} tag: ${{inputs.opencover-version}}
fileName: opencover.${{inputs.opencover-version}}.zip file: opencover.${{inputs.opencover-version}}.zip
- name: Extract opencover.${{inputs.opencover-version}} - name: Extract opencover.${{inputs.opencover-version}}
run: Expand-Archive -Path "${{fromJson(steps.download_opencover.outputs.downloaded_files)[0]}}" -DestinationPath "${{github.workspace}}/opencover" uses: DuckSoft/extract-7z-action@v1.0
shell: pwsh with:
pathSource: opencover.${{inputs.opencover-version}}.zip
pathTarget: opencover

Loading…
Cancel
Save