Skip to content

Commit fa50bc8

Browse files
committed
Fix CI
1 parent f5949d9 commit fa50bc8

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on:
55
push: {}
66
release:
77
types: [published]
8-
8+
99

1010
env:
1111
GMOD_DOT_NET_VERSION: '0.7.0-rc.1.56307663.main'
@@ -34,7 +34,7 @@ jobs:
3434
- name: Download GmodDotNet
3535
working-directory: ./gmod/garrysmod/lua/bin/
3636
run: |
37-
wget https://github.com/GmodNET/runtime-nightly/releases/download/${{ GMOD_DOT_NET_VERSION }}/gmod-dot-net-linux.${{ GMOD_DOT_NET_VERSION }}.tar.gz
37+
wget https://github.com/GmodNET/runtime-nightly/releases/download/${{ env.GMOD_DOT_NET_VERSION }}/gmod-dot-net-linux.${{ env.GMOD_DOT_NET_VERSION }}.tar.gz
3838
tar -xvf gmod-dot-net-linux.${{ env.GMOD_DOT_NET_VERSION }}.tar.gz
3939
rm -rfv gmod-dot-net-linux.${{ env.GMOD_DOT_NET_VERSION }}.tar.gz
4040
@@ -50,7 +50,7 @@ jobs:
5050
- name: Print console log
5151
working-directory: ./gmod/garrysmod/
5252
run: cat console.log
53-
53+
5454
- name: Check tests success
5555
working-directory: ./gmod/
5656
run: cat test-success.txt
@@ -61,7 +61,7 @@ jobs:
6161
steps:
6262
- name: Checkout
6363
uses: actions/checkout@v2.0.0
64-
64+
6565
- name: Setup .NET SDK
6666
uses: actions/setup-dotnet@v1.8.2
6767

@@ -79,7 +79,7 @@ jobs:
7979
working-directory: ./gmod/garrysmod/lua/bin/
8080
shell: pwsh
8181
run: |
82-
Invoke-WebRequest -Uri https://github.com/GmodNET/runtime-nightly/releases/download/${{ GMOD_DOT_NET_VERSION }}/gmod-dot-net-windows.${{ GMOD_DOT_NET_VERSION }}.zip -OutFile gmodnet.zip
82+
Invoke-WebRequest -Uri https://github.com/GmodNET/runtime-nightly/releases/download/${{ env.GMOD_DOT_NET_VERSION }}/gmod-dot-net-windows.${{ env.GMOD_DOT_NET_VERSION }}.zip -OutFile gmodnet.zip
8383
Expand-Archive -Path gmodnet.zip -DestinationPath .\
8484
8585
- name: Copy Lua file
@@ -130,7 +130,7 @@ jobs:
130130
- name: Upload NuGet package to NuGet.org
131131
if: ${{ github.event_name == 'release' }}
132132
run: dotnet nuget push nupkgs/**.nupkg --source nuget --api-key ${{ secrets.NUGET_API_KEY }} --skip-duplicate
133-
133+
134134
- name: Upload build to GitHub release
135135
if: ${{ github.event_name == 'release' }}
136136
uses: svenstaro/upload-release-action@2.2.1

0 commit comments

Comments
 (0)