Skip to content

fixed workflow

fixed workflow #2

Workflow file for this run

name: Release Proper
on:
push:
tags:
- '*.*.*-**'
workflow_dispatch:
jobs:
prerequisites:
name: prerequisites
runs-on: ubuntu-latest
permissions:
id-token: write
contents: write
steps:
- name: Checkout Repo
uses: actions/checkout@v4
- uses: actions/setup-dotnet@v3
with:
dotnet-version: '8.0.x'
source-url: https://nuget.pkg.github.com/martinjt/index.json
env:
NUGET_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
- run: dotnet build --configuration Release
- name: Create the package
run: dotnet pack --configuration Release -o artifacts /p:Version=
- name: Publish the package to GPR
run: dotnet nuget push artifacts/*.nupkg