Skip to content

Release v0.1.0-alpha #1

Release v0.1.0-alpha

Release v0.1.0-alpha #1

Workflow file for this run

name: Release NuGet package
on:
push:
tags:
- "v*"
concurrency:
group: nuget-release
cancel-in-progress: true
jobs:
checks:

Check failure on line 13 in .github/workflows/release.yml

View workflow run for this annotation

GitHub Actions / Release NuGet package

Invalid workflow file

The workflow is not valid. .github/workflows/release.yml (Line: 13, Col: 3): Error calling workflow 'TSRBerry/RyuSOCKS/.github/workflows/checks.yml@11a7ea1ee743f8a34a0202a1a79b5320d2ef9085'. The workflow is requesting 'checks: write, pull-requests: write', but is only allowed 'checks: none, pull-requests: none'.
uses: ./.github/workflows/checks.yml
tests:
uses: ./.github/workflows/tests.yml
publish:
needs: [checks, tests]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-dotnet@v4
with:
global-json-file: global.json
- name: Package
working-directory: RyuSocks
run: dotnet pack
- name: Publish to NuGet.org
working-directory: RyuSocks
run: dotnet nuget push "bin/Release/RyuSocks.*.nupkg" --api-key "${{ secrets.NUGET_API_KEY }}" --source https://api.nuget.org/v3/index.json