Skip to content

Commit fac90d6

Browse files
committed
feat: cleanup repo
1 parent 7e30f30 commit fac90d6

File tree

3 files changed

+7
-39
lines changed

3 files changed

+7
-39
lines changed

.github/workflows/CD.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
uses: actions/checkout@v4
1414
- uses: actions/setup-dotnet@v4
1515
with:
16-
dotnet-version: '8'
16+
dotnet-version: "8"
1717
- uses: nuget/setup-nuget@v2
1818
with:
1919
nuget-api-key: ${{ secrets.NUGET_API_KEY }}
@@ -30,15 +30,15 @@ jobs:
3030
- name: Upload mod file to release
3131
uses: svenstaro/upload-release-action@v2
3232
with:
33-
repo_token: '${{ secrets.GITHUB_TOKEN }}'
33+
repo_token: "${{ secrets.GITHUB_TOKEN }}"
3434
file: build/*.*
35-
tag: '${{ github.ref }}'
35+
tag: "${{ github.ref }}"
3636
overwrite: true
3737
- name: Upload mod file to Thunderstore
3838
env:
39-
TCLI_AUTH_TOKEN: '${{ secrets.TCLI_AUTH_TOKEN }}'
39+
TCLI_AUTH_TOKEN: "${{ secrets.TCLI_AUTH_TOKEN }}"
4040
run: |
4141
tcli publish
4242
- name: Upload mod file to NuGet
4343
run: |
44-
nuget push bin/Release/COTL_API/*.nupkg
44+
nuget push bin/Release/COTL_API/*.nupkg

.github/workflows/build.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,6 @@ jobs:
2525
- uses: actions/setup-dotnet@v4
2626
with:
2727
dotnet-version: "8"
28-
- uses: nuget/setup-nuget@v2
29-
if: matrix.os == 'windows-latest'
3028
- name: Restore
3129
run: |
3230
dotnet restore
@@ -37,11 +35,10 @@ jobs:
3735
run: |
3836
dotnet tool install -g tcli
3937
tcli build
40-
4138
- name: Upload Artifacts
4239
uses: actions/upload-artifact@v4
4340
with:
4441
path: |
45-
"build/*.*"
46-
"bin/Release/COTL_API/*.nupkg"
42+
"build/*.*"
43+
"bin/Release/COTL_API/*.nupkg"
4744
name: ${{ matrix.os }}

COTL_API.nuspec

Lines changed: 0 additions & 29 deletions
This file was deleted.

0 commit comments

Comments
 (0)