Skip to content

Commit

Permalink
Update workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
LiZhenhuan1019 committed Aug 31, 2022
1 parent 658317f commit 0a87b56
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 12 deletions.
11 changes: 5 additions & 6 deletions .github/resources/FileFilters.regexp
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
bin\\Win64_Shipping_Client\\(?<=\\)[^\\]*TaleWorlds.+
Modules\\CustomBattle\\bin\\Win64_Shipping_Client\\(?<=\\)[^\\]+dll
Modules\\SandBox\\bin\\Win64_Shipping_Client\\(?<=\\)[^\\]+dll
Modules\\SandBoxCore\\bin\\Win64_Shipping_Client\\(?<=\\)[^\\]+dll
Modules\\StoryMode\\bin\\Win64_Shipping_Client\\(?<=\\)[^\\]+dll
bin\\Win64_Shipping_Client\\System.Numerics.Vectors.dll
regex:bin/Win64_Shipping_Client/(?<=/)[^/]*TaleWorlds.+
regex:Modules/CustomBattle/bin/Win64_Shipping_Client/(?<=/)[^/]+dll
regex:Modules/SandBox/bin/Win64_Shipping_Client/(?<=/)[^/]+dll
regex:Modules/SandBoxCore/bin/Win64_Shipping_Client/(?<=/)[^/]+dll
regex:Modules/StoryMode/bin/Win64_Shipping_Client/(?<=/)[^/]+dll
21 changes: 15 additions & 6 deletions .github/workflows/Build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,12 @@ jobs:
with:
dotnet-version: '2.2.x'

# additional .net core for DepotDownloader.
- name: Setup .NET Core 6.0.x
uses: actions/setup-dotnet@master
with:
dotnet-version: '6.0.x'

- name: setup-msbuild
uses: microsoft/setup-msbuild@v1
# with:
Expand All @@ -80,21 +86,24 @@ jobs:
# uses: NuGet/setup-nuget@04b0c2b8d1b97922f67eca497d7cf0bf17b8ffe1
uses: NuGet/[email protected]

- name: Download DepotDownloader_2.3.6
- name: Download DepotDownloader_2.4.7
uses: i3h/download-release-asset@v1
with:
owner: SteamRE
repo: DepotDownloader
tag: DepotDownloader_2.3.6
file: depotdownloader-2.3.6.zip
- name: Extract DepotDownloader_2.3.6
tag: DepotDownloader_2.4.7
file: depotdownloader-2.4.7.zip
- name: Extract DepotDownloader_2.4.7
uses: DuckSoft/[email protected]
with:
pathSource: depotdownloader-2.3.6.zip
pathSource: depotdownloader-2.4.7.zip
pathTarget: depotdownloader

- name: Download Bannerlord binaries
- name: Download Bannerlord binaries 1
run: dotnet depotdownloader/DepotDownloader.dll -app 261550 -depot 261551 -beta ${{steps.dotenv.outputs.game_version}} -username ${{secrets.STEAM_LOGIN}} -password ${{secrets.STEAM_PASSWORD}} -filelist ./.github/resources/FileFilters.regexp -dir bannerlord;

- name: Download Bannerlord binaries 2
run: dotnet depotdownloader/DepotDownloader.dll -app 261550 -depot 261552 -beta ${{steps.dotenv.outputs.game_version}} -username ${{secrets.STEAM_LOGIN}} -password ${{secrets.STEAM_PASSWORD}} -filelist ./.github/resources/FileFilters.regexp -dir bannerlord;

- name: Build Solution
run: >-
Expand Down

0 comments on commit 0a87b56

Please sign in to comment.