Commit 125657e 1 parent 339b4d6 commit 125657e Copy full SHA for 125657e
File tree 3 files changed +18
-45
lines changed
3 files changed +18
-45
lines changed Original file line number Diff line number Diff line change @@ -27,21 +27,12 @@ jobs:
27
27
- name : Setup MSBuild
28
28
uses : microsoft/setup-msbuild@v1
29
29
30
- - name : Download references
31
- uses :
carlosperate/[email protected]
32
- with :
33
- file-url : ' https://misaka-zerotwo.github.io/SL-References/Master.zip'
34
- file-name : ' References.zip'
35
-
36
- - name : Download 7zip
37
- uses :
carlosperate/[email protected]
38
- with :
39
- file-url : ' https://www.exiled.host/7za.exe'
40
- file-name : ' 7zip.exe'
41
-
42
- - name : Extract Refs
43
- run : ./7zip.exe e References.zip -oD:\a\KillLogs\KillLogs\lib\ -r -y
44
-
30
+ - name : Get references
31
+ shell : pwsh
32
+ run : |
33
+ Invoke-WebRequest -Uri https://misaka-zerotwo.github.io/SL-References/Master.zip -OutFile ${{ github.workspace }}/References.zip
34
+ Expand-Archive -Path References.zip -DestinationPath ${{ github.workspace }}\lib
35
+
45
36
- name : Build
46
37
run : msbuild KillLogs.sln -p:Configuration=release
47
38
env :
Original file line number Diff line number Diff line change @@ -49,21 +49,12 @@ jobs:
49
49
- name : Setup MSBuild
50
50
uses : microsoft/setup-msbuild@v1
51
51
52
- - name : Download references
53
- uses :
carlosperate/[email protected]
54
- with :
55
- file-url : ' https://misaka-zerotwo.github.io/SL-References/Master.zip'
56
- file-name : ' References.zip'
57
-
58
- - name : Download 7zip
59
- uses :
carlosperate/[email protected]
60
- with :
61
- file-url : ' https://www.exiled.host/7za.exe'
62
- file-name : ' 7zip.exe'
63
-
64
- - name : Extract Refs
65
- run : ./7zip.exe e References.zip -o${{ github.workspace }}\lib\ -r -y
66
-
52
+ - name : Get references
53
+ shell : pwsh
54
+ run : |
55
+ Invoke-WebRequest -Uri https://misaka-zerotwo.github.io/SL-References/Master.zip -OutFile ${{ github.workspace }}/References.zip
56
+ Expand-Archive -Path References.zip -DestinationPath ${{ github.workspace }}\lib
57
+
67
58
# Initializes the CodeQL tools for scanning.
68
59
- name : Initialize CodeQL
69
60
uses : github/codeql-action/init@v1
Original file line number Diff line number Diff line change @@ -22,21 +22,12 @@ jobs:
22
22
- name : Setup MSBuild
23
23
uses : microsoft/setup-msbuild@v1
24
24
25
- - name : Download references
26
- uses :
carlosperate/[email protected]
27
- with :
28
- file-url : ' https://misaka-zerotwo.github.io/SL-References/Master.zip'
29
- file-name : ' References.zip'
30
-
31
- - name : Download 7zip
32
- uses :
carlosperate/[email protected]
33
- with :
34
- file-url : ' https://www.exiled.host/7za.exe'
35
- file-name : ' 7zip.exe'
36
-
37
- - name : Extract Refs
38
- run : ./7zip.exe e References.zip -oD:\a\KillLogs\KillLogs\lib\ -r -y
39
-
25
+ - name : Get references
26
+ shell : pwsh
27
+ run : |
28
+ Invoke-WebRequest -Uri https://misaka-zerotwo.github.io/SL-References/Master.zip -OutFile ${{ github.workspace }}/References.zip
29
+ Expand-Archive -Path References.zip -DestinationPath ${{ github.workspace }}\lib
30
+
40
31
- name : Build
41
32
run : msbuild KillLogs.sln -p:Configuration=release
42
33
env :
You can’t perform that action at this time.
0 commit comments