Skip to content

Commit faca336

Browse files
committed
misc: move pack.yml to release-tag.
1 parent aba370e commit faca336

File tree

3 files changed

+4
-26
lines changed

3 files changed

+4
-26
lines changed

.github/workflows/pack.yml

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

.github/workflows/release-tag.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,15 @@ jobs:
1717
- name: Pack Irihi.Rough.NET
1818
run: dotnet pack src/Irihi.Rough.NET -o nugets
1919

20+
- name: Publish NuGet package
21+
run: dotnet nuget push "./nugets/*.nupkg" --api-key ${{ secrets.NUGET_ORG_API_KEY }} --source https://api.nuget.org/v3/index.json --skip-duplicate
22+
2023
- name: Upload a Build Artifact
2124
uses: actions/upload-artifact@v4
2225
with:
2326
name: nugets
2427
path: ./nugets
28+
if: always()
2529

2630
draft-release:
2731
needs: [ pack ]

Irihi.Rough.NET.sln

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "UnitTest", "test\UnitTest\U
1212
EndProject
1313
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "GitHub Action", "GitHub Action", "{A2438633-05B4-4FDB-B28A-0BAC89940510}"
1414
ProjectSection(SolutionItems) = preProject
15-
.github\workflows\pack.yml = .github\workflows\pack.yml
1615
.github\workflows\pack-nightly.yml = .github\workflows\pack-nightly.yml
1716
.github\workflows\release-tag.yml = .github\workflows\release-tag.yml
1817
.github\workflows\test.yml = .github\workflows\test.yml

0 commit comments

Comments
 (0)