result/.forgejo/workflows/default.yml
Louis Seubert ca9f290d44
All checks were successful
dotnet publish / package (8.0) (push) Successful in 37s
feat: initial project commit
2024-04-14 17:45:15 +02:00

29 lines
No EOL
834 B
YAML

name: dotnet publish
on:
push:
tags: [ '[0-9]+.[0-9]+.[0-9]+' ]
branches: [ 'main', 'develop' ]
jobs:
package:
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
shell: bash
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: .NET pack
shell: bash
run: |
dotnet pack -p:ContinuousIntegrationBuild=true
- name: .NET test
shell: bash
run: |
dotnet test