build: initial project release
All checks were successful
default / dotnet-default-workflow (push) Successful in 1m21s
release / dotnet-release-workflow (push) Successful in 1m25s

This commit is contained in:
Louis Seubert 2026-01-20 22:41:16 +01:00
commit 2e94c513fc
Signed by: louis9902
GPG key ID: 4B9DB28F826553BD
60 changed files with 4935 additions and 0 deletions

View file

@ -0,0 +1,39 @@
name: default
on:
push:
branches: [ "main", "develop" ]
paths-ignore:
- "doc/**"
- "*.md"
pull_request:
branches: [ "main", "develop" ]
paths-ignore:
- "doc/**"
- "*.md"
jobs:
default:
name: dotnet-default-workflow
runs-on: debian-latest
strategy:
matrix:
dotnet-version: [ "10.0" ]
container: mcr.microsoft.com/dotnet/sdk:${{ matrix.dotnet-version }}
steps:
- name: checkout
uses: https://code.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 -p:ContinuousIntegrationBuild=true

View file

@ -0,0 +1,36 @@
name: release
on:
push:
tags: [ "[0-9]+.[0-9]+.[0-9]+" ]
jobs:
release:
name: dotnet-release-workflow
runs-on: debian-latest
strategy:
matrix:
dotnet-version: [ "10.0" ]
container: mcr.microsoft.com/dotnet/sdk:${{ matrix.dotnet-version }}
steps:
- uses: https://code.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 -p:ContinuousIntegrationBuild=true
- name: dotnet nuget push
run: |
# The token used here is only intended to publish packages
dotnet nuget push -k "${{ secrets.geekeey_package_registry }}" \
artifacts/package/release/Geekeey.*.nupkg