result/.forgejo/workflows/default.yml
Louis Seubert 3457f4e692
All checks were successful
default / default (8.0) (push) Successful in 1m8s
feat: initial project commit
2024-04-26 20:40:08 +02:00

37 lines
No EOL
906 B
YAML

name: default
on:
push:
branches: ["main", "develop"]
paths-ignore:
- "doc/**"
- "*.md"
pull_request:
branches: ["main", "develop"]
paths-ignore:
- "doc/**"
- "*.md"
jobs:
default:
runs-on: debian-latest
strategy:
matrix:
dotnet-version: ["8.0"]
container: mcr.microsoft.com/dotnet/sdk:${{ matrix.dotnet-version }}
steps:
- name: checkout
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
- name: dotnet test
run: |
dotnet test