Skip to content

Commit 641ed4a

Browse files
committed
whoops, did that the wrong way around
1 parent edae340 commit 641ed4a

File tree

2 files changed

+2
-68
lines changed

2 files changed

+2
-68
lines changed

.github/workflows/build.yml

Lines changed: 0 additions & 66 deletions
Original file line numberDiff line numberDiff line change
@@ -46,69 +46,3 @@ jobs:
4646
with:
4747
name: nupkg-build
4848
path: ./*/bin/Release/*.nupkg
49-
50-
upload-release-artifacts:
51-
name: Upload Release Artifacts
52-
needs: build
53-
runs-on: ubuntu-latest
54-
steps:
55-
- name: Fetch Sources
56-
uses: actions/checkout@v4
57-
58-
- name: Download all artifacts
59-
uses: actions/download-artifact@v4
60-
61-
- name: Upload artifacts to Release
62-
env:
63-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
64-
run: gh release upload ${{ github.event.release.tag_name }} thunderstore-build/*/bin/Release/netstandard2.1/dist/*.zip nupkg-build/*/bin/Release/*.nupkg
65-
66-
deploy-nuget:
67-
name: Deploy to NuGet
68-
needs: build
69-
runs-on: ubuntu-latest
70-
steps:
71-
- name: Fetch Sources
72-
uses: actions/checkout@v4
73-
74-
- name: Download nupkg artifact
75-
uses: actions/download-artifact@v4
76-
with:
77-
name: nupkg-build
78-
79-
- name: Setup .NET environment
80-
uses: actions/setup-dotnet@v3
81-
with:
82-
dotnet-version: "8.0.100"
83-
84-
- name: Publish to NuGet.org
85-
run: |
86-
dotnet nuget push ./*/bin/Release/*.nupkg --api-key ${{ secrets.NUGET_API_TOKEN }} --source https://api.nuget.org/v3/index.json
87-
88-
deploy-thunderstore:
89-
name: Deploy to Thunderstore
90-
needs: build
91-
runs-on: ubuntu-latest
92-
steps:
93-
- name: Fetch Sources
94-
uses: actions/checkout@v4
95-
96-
- name: Download Thunderstore artifact
97-
uses: actions/download-artifact@v4
98-
with:
99-
name: thunderstore-build
100-
101-
- name: Setup .NET environment
102-
uses: actions/setup-dotnet@v3
103-
with:
104-
dotnet-version: "8.0.100"
105-
106-
- name: Restore dotnet tools
107-
run: |
108-
dotnet tool restore
109-
110-
- name: Publish to Thunderstore
111-
env:
112-
TCLI_AUTH_TOKEN: ${{ secrets.THUNDERSTORE_API_TOKEN }}
113-
run: |
114-
dotnet build -c Release -target:ThunderstorePublish

.github/workflows/publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ jobs:
5959
- name: Upload artifacts to Release
6060
env:
6161
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
62-
run: gh release upload ${{ github.event.release.tag_name }} thunderstore-build/*/dist/*.zip nupkg-build/*/bin/Release/*.nupkg
62+
run: gh release upload ${{ github.event.release.tag_name }} thunderstore-build/*/bin/Release/netstandard2.1/dist/*.zip nupkg-build/*/bin/Release/*.nupkg
6363

6464
deploy-nuget:
6565
name: Deploy to NuGet
@@ -109,4 +109,4 @@ jobs:
109109
env:
110110
TCLI_AUTH_TOKEN: ${{ secrets.THUNDERSTORE_API_TOKEN }}
111111
run: |
112-
dotnet build -target:ThunderstorePublish
112+
dotnet build -c Release -target:ThunderstorePublis

0 commit comments

Comments
 (0)