Skip to content

Commit

Permalink
sync: synced file(s) with prom-client-net/prom-client-tmpl (#51)
Browse files Browse the repository at this point in the history
  • Loading branch information
phnx47-bot authored Dec 13, 2024
1 parent 9d50907 commit 9acab41
Show file tree
Hide file tree
Showing 2 changed files with 52 additions and 13 deletions.
26 changes: 13 additions & 13 deletions .github/settings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,51 +8,51 @@ repository:

labels:
- name: dependencies
color: 0052CC
color: '0052CC'
description:

- name: bug
color: D73A4A
color: 'D73A4A'
description:

- name: documentation
color: 0075CA
color: '0075CA'
description:

- name: duplicate
color: CFD3D7
color: 'CFD3D7'
description:

- name: enhancement
color: A2EEEF
color: 'A2EEEF'
description:

- name: good first issue
color: 7057FF
color: '7057FF'
description:

- name: help wanted
color: 008672
color: '008672'
description:

- name: invalid
color: E4E669
color: 'E4E669'
description:

- name: question
color: D876E3
color: 'D876E3'
description:

- name: wontfix
color: FFFFFF
color: 'FFFFFF'
description:

- name: vulnerability
color: D1260F
color: 'D1260F'
description:

- name: sync
color: 6E81A3
color: '6E81A3'
description:

branches:
Expand All @@ -61,7 +61,7 @@ branches:
required_pull_request_reviews: null
required_status_checks:
strict: false
contexts: ['Build, Test & Pack (Windows)']
contexts: ['Build, Test & Pack']
enforce_admins: false
required_linear_history: false
restrictions: null
39 changes: 39 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: CI

on:
push:
branches:
- "main"
tags:
- "v*"

jobs:
build:
name: CI Build
uses: ./.github/workflows/build.yml
secrets: inherit

github:
name: Deploy to GitHub
needs: [build]
runs-on: ubuntu-24.04
steps:
- name: Download artifacts
uses: actions/download-artifact@v4
with:
name: nupkgs
- name: Push to pkg.github.com
run: dotnet nuget push "**/*.nupkg" -s https://nuget.pkg.github.com/${{ github.repository_owner }}/index.json -k ${{ secrets.GH_FULL_PAT }} --skip-duplicate

nuget:
name: Deploy to NuGet
needs: [build]
if: startsWith(github.ref, 'refs/tags/v')
runs-on: ubuntu-24.04
steps:
- name: Download artifacts
uses: actions/download-artifact@v4
with:
name: nupkgs
- 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 9acab41

Please sign in to comment.