This commit is contained in:
parent
97301b1162
commit
ff4dad335f
4 changed files with 10 additions and 6 deletions
|
@ -14,12 +14,12 @@ steps:
|
|||
commands:
|
||||
- git fetch --tags
|
||||
- name: Build for Release
|
||||
image: mcr.microsoft.com/dotnet/sdk:7.0
|
||||
image: mcr.microsoft.com/dotnet/sdk:8.0
|
||||
commands:
|
||||
- dotnet build -c Release -p:SymbolPackageFormat=symbols.nupkg -p:ContinuousIntegrationBuild=true
|
||||
- dotnet build -c Release -p:ContinuousIntegrationBuild=true
|
||||
- name: Publish
|
||||
image: mcr.microsoft.com/dotnet/sdk:7.0
|
||||
image: mcr.microsoft.com/dotnet/sdk:8.0
|
||||
environment:
|
||||
API_KEY:
|
||||
from_secret: API_KEY
|
||||
|
@ -27,4 +27,4 @@ steps:
|
|||
commands:
|
||||
- cd src/Xdg.Directories
|
||||
- dotnet nuget push bin/Release/\*.symbols.nupkg --api-key $API_KEY --source $NUGET_REPO
|
||||
- dotnet nuget push bin/Release/\*.snupkg --api-key $API_KEY --source $NUGET_REPO
|
||||
- dotnet nuget push bin/Release/\*.snupkg --api-key $API_KEY --source $NUGET_REPO
|
||||
|
|
4
.github/dependabot.yml
vendored
4
.github/dependabot.yml
vendored
|
@ -9,3 +9,7 @@ updates:
|
|||
directory: "/" # Location of package manifests
|
||||
schedule:
|
||||
interval: "daily"
|
||||
- package-ecosystem: "github actions"
|
||||
directory: "/"
|
||||
schedule:
|
||||
interval: "daily"
|
||||
|
|
4
.github/workflows/build-test.yaml
vendored
4
.github/workflows/build-test.yaml
vendored
|
@ -7,7 +7,7 @@ jobs:
|
|||
strategy:
|
||||
matrix:
|
||||
operating-system: ["windows", "macos", "ubuntu"]
|
||||
dotnet-version: ["7.0.x"]
|
||||
dotnet-version: ["8.0.x"]
|
||||
|
||||
runs-on: ${{ matrix.operating-system }}-latest
|
||||
|
||||
|
@ -88,4 +88,4 @@ jobs:
|
|||
run: |
|
||||
dotnet nuget push src/Xdg.Directories/bin/Release/*.nupkg -s https://api.nuget.org/v3/index.json -k ${{ secrets.NUGET_KEY }}
|
||||
env:
|
||||
NUGET_API_KEY: ${{ secrets.GITHUB_TOKEN }}
|
||||
NUGET_API_KEY: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
DOTNET ?= dotnet
|
||||
NETVERSION ?= net7.0
|
||||
NETVERSION ?= net8.0
|
||||
|
||||
.PHONY: publish
|
||||
publish:
|
||||
|
|
Loading…
Reference in a new issue