Skip to content

Commit

Permalink
ci: remove icons
Browse files Browse the repository at this point in the history
  • Loading branch information
phnx47-bot committed Aug 21, 2023
1 parent 8992135 commit 5fd8bf2
Showing 1 changed file with 17 additions and 17 deletions.
34 changes: 17 additions & 17 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: πŸ’Ώ CI
name: CI

on:
push:
Expand All @@ -13,12 +13,12 @@ on:

jobs:
build:
name: 🏭 Build & Test
name: Build & Test
runs-on: ubuntu-22.04
steps:
- name: 🚚 Checkout
- name: Checkout
uses: actions/checkout@v3
- name: πŸ›  Setup .NET
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: |
Expand All @@ -30,48 +30,48 @@ jobs:
6.0.x
7.0.x
- name: βš™ Restore
- name: Restore
run: dotnet restore
- name: 🏭 Build
- name: Build
run: dotnet build --no-restore -c Release -p:ContinuousIntegrationBuild=true
- name: πŸ§ͺ Run tests
- name: Run tests
run: dotnet test --no-build -c Release --filter FullyQualifiedName\!~Tests.Integration -p:CollectCoverage=true -e:CoverletOutputFormat=opencover
- name: ☒ Publish to Codecov
- name: Publish to Codecov
uses: codecov/codecov-action@v3
- name: πŸ—œ Pack Dev artifacts
- name: Pack Dev artifacts
if: github.ref == 'refs/heads/main'
run: dotnet pack --no-build -c Release --version-suffix dev-$(date +%s)-${GITHUB_SHA::7}
- name: πŸ—œ Pack artifacts
- name: Pack artifacts
if: startsWith(github.ref, 'refs/tags/v')
run: dotnet pack --no-build -c Release
- name: πŸ“€ Upload artifacts
- name: Upload artifacts
if: github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/v')
uses: actions/upload-artifact@v3
with:
name: nupkgs
path: src/**/*nupkg

github:
name: πŸš€ Deploy to GitHub
name: Deploy to GitHub
needs: [build]
if: github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/v')
runs-on: ubuntu-22.04
steps:
- name: πŸ“₯ Download artifacts
- name: Download artifacts
uses: actions/download-artifact@v3
with:
name: nupkgs
- name: πŸ“¦ Push to pkg.github.com
- name: Push to pkg.github.com
run: dotnet nuget push "**/*.nupkg" -s https://nuget.pkg.github.com/prom-client-net/index.json -k ${{ secrets.GH_FULL_PAT }} --skip-duplicate
nuget:
name: πŸš€ Deploy to NuGet
name: Deploy to NuGet
needs: [build]
if: startsWith(github.ref, 'refs/tags/v')
runs-on: ubuntu-22.04
steps:
- name: πŸ“₯ Download artifacts
- name: Download artifacts
uses: actions/download-artifact@v3
with:
name: nupkgs
- name: πŸ“¦ Push to nuget.org
- name: Push to nuget.org
run: dotnet nuget push "**/*.nupkg" -s https://api.nuget.org/v3/index.json -k ${{ secrets.NUGET_DEPLOY_KEY }}

0 comments on commit 5fd8bf2

Please sign in to comment.