Skip to content

Commit af7a425

Browse files
committed
Merge branch 'main' of https://github.com/CeSun/TestAction
2 parents dcf7bdd + 74f81da commit af7a425

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

.github/workflows/main.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,7 @@ jobs:
2828
- name: unzip llvm
2929
uses: developerdino/action-tar@v1
3030
with:
31-
args: tar -xvf clang.tar.xz ./clang
32-
- name:
31+
args: tar -xvf clang.tar.xz
3332
- name: download zig
3433
uses: wei/wget@v1
3534
with:
@@ -54,7 +53,7 @@ jobs:
5453
name: packages
5554
path: packages
5655

57-
publish-to-nuget:
56+
publish-to-nuget:
5857
needs: build
5958
runs-on: ubuntu-latest
6059
if: github.event_name == 'push'
@@ -65,4 +64,4 @@ jobs:
6564
path: packages
6665
- name: Push to NuGet
6766
run: |
68-
dotnet nuget push **/*.nupkg --api-key ${{ secrets.NUGET_API_KEY }} --source https://api.nuget.org/v3/index.json --skip-duplicate
67+
dotnet nuget push **/*.nupkg --api-key ${{ secrets.NUGET_API_KEY }} --source https://api.nuget.org/v3/index.json --skip-duplicate

global.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"msbuild-sdks": {
3+
"Microsoft.Build.NoTargets": "2.0.1"
4+
}
5+
}

0 commit comments

Comments
 (0)