File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -6,19 +6,35 @@ concurrency:
66
77on :
88 workflow_dispatch :
9- schedule :
10- - cron : ' 0 10 * * *'
9+ # schedule:
10+ # - cron: '0 10 * * *'
1111
1212jobs :
1313 build :
1414 runs-on : ubuntu-latest
15-
15+ environment :
16+ name : prod
1617 steps :
17- - uses : actions/checkout@v3.6.0
18+ - name : Install dependencies
19+ run : sudo apt-get install -y python3-paramiko python3-lxml
20+
21+ - uses : actions/checkout@v4.2.2
1822 with :
1923 submodules : ' recursive'
24+ fetch-depth : 0
25+
26+ - name : Fetch all tags and branches (RobustToolbox)
27+ run : |
28+ cd RobustToolbox
29+ git fetch --all --tags
30+
31+ - name : Debug tags for RobustToolbox
32+ run : |
33+ cd RobustToolbox
34+ git tag
35+
2036 - name : Setup .NET Core
21- uses : actions/setup-dotnet@v3.2 .0
37+ uses : actions/setup-dotnet@v4.1 .0
2238 with :
2339 dotnet-version : 9.0.x
2440
4056 run : dotnet run --project Content.Packaging client --no-wipe-release
4157
4258 - name : Publish version
43- run : Tools/publish_multi_request.py --fork-id wizards-testing
59+ run : Tools/publish_multi_request.py
4460 env :
61+ FORK_ID : starlight-test
4562 PUBLISH_TOKEN : ${{ secrets.PUBLISH_TOKEN }}
4663 GITHUB_REPOSITORY : ${{ vars.GITHUB_REPOSITORY }}
Original file line number Diff line number Diff line change 1717# Forks should change these to publish to their own infrastructure.
1818#
1919ROBUST_CDN_URL = "https://ss14-starlight-alfa.online/"
20- FORK_ID = " starlight"
20+ FORK_ID = os . environ . get ( "FORK_ID" , " starlight")
2121
2222def main ():
2323 parser = argparse .ArgumentParser ()
You can’t perform that action at this time.
0 commit comments