result/.forgejo/workflows/release.yml
Louis Seubert 30ef7bd477
All checks were successful
default / default (8.0) (push) Successful in 1m7s
feat: initial project commit
2024-04-27 20:11:24 +02:00

24 lines
No EOL
670 B
YAML

name: release
on:
push:
tags: ["[0-9]+.[0-9]+.[0-9]+"]
jobs:
release:
runs-on: debian-latest
strategy:
matrix:
dotnet-version: ["8.0"]
container: mcr.microsoft.com/dotnet/sdk:${{ matrix.dotnet-version }}
steps:
- uses: https://git.geekeey.de/actions/checkout@1
- name: nuget login
run: |
# This token is readonly and can only be used for restore
dotnet nuget update source geekeey --store-password-in-clear-text \
--username "${{ github.actor }}" --password "${{ github.token }}"
- name: dotnet pack
run: |
dotnet pack -p:ContinuousIntegrationBuild=true