Skip to content

Commit 56d9c08

Browse files
committed
Add emoji to the build
1 parent 97cf4b5 commit 56d9c08

File tree

2 files changed

+17
-12
lines changed

2 files changed

+17
-12
lines changed

.github/workflows/dotnet-core.yml

Lines changed: 16 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -12,21 +12,23 @@ jobs:
1212
runs-on: ubuntu-latest
1313

1414
steps:
15-
- uses: actions/checkout@v2
16-
- name: Install dependencies
15+
- name: 📥 Checkout Code
16+
uses: actions/checkout@v3
17+
18+
- name: 💉 Install dependencies
1719
run: dotnet restore
1820

19-
- name: Build
21+
- name: 🛠️ Build
2022
run: dotnet build --configuration Release --no-restore
2123

22-
- name: Test
24+
- name: Test
2325
run: dotnet test --no-restore --verbosity normal
2426

25-
- name: Package NuGet
27+
- name: 📦 Package NuGet
2628
run: dotnet pack --no-build --configuration Release
2729

28-
- name: Upload Artifacts
29-
uses: actions/upload-artifact@v2
30+
- name: 📤 Upload Artifacts
31+
uses: actions/upload-artifact@v3
3032
with:
3133
name: nupkg
3234
path: src/todo/nupkg/*.nupkg
@@ -38,10 +40,13 @@ jobs:
3840
# only push nuget package for PRs merged to master
3941
if: github.ref == 'refs/heads/main'
4042
steps:
41-
- name: Download Artifacts
42-
uses: actions/download-artifact@v2
43+
- name: 📥 Download Artifacts
44+
uses: actions/download-artifact@v3
4345
with:
4446
name: nupkg
4547

46-
- name: Publish NuGet to GitHub Packages
47-
run: dotnet nuget push "**/dotnet-todo.*.nupkg" -k ${{ secrets.GITHUB_TOKEN }} -s https://nuget.pkg.github.com/rprouse/index.json --skip-duplicate --no-symbols
48+
- name: 🔑 Authenticate to GitHub Packages
49+
run: dotnet nuget add source --username rprouse --password ${{ secrets.GITHUB_TOKEN }} --store-password-in-clear-text --name github "https://nuget.pkg.github.com/rprouse/index.json"
50+
51+
- name: 📤 Publish NuGet to GitHub Packages
52+
run: dotnet nuget push "**/dotnet-todo.*.nupkg" -k ${{ secrets.GITHUB_TOKEN }} --source "github" --skip-duplicate --no-symbols

src/todo/todo.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
<PackageProjectUrl>https://github.com/rprouse/dotnet-todo</PackageProjectUrl>
1414
<RepositoryUrl>https://github.com/rprouse/dotnet-todo</RepositoryUrl>
1515
<PackageId>dotnet-todo</PackageId>
16-
<Version>0.4.0</Version>
16+
<Version>0.4.1</Version>
1717
<PackAsTool>true</PackAsTool>
1818
<ToolCommandName>todo</ToolCommandName>
1919
<PackageOutputPath>./nupkg</PackageOutputPath>

0 commit comments

Comments
 (0)