From 90fd1c8217b02e0d14e9aec259ae30c65228b6e0 Mon Sep 17 00:00:00 2001 From: Digitalroot Date: Sun, 14 Nov 2021 00:09:01 -0800 Subject: [PATCH] Create nuget.release.yml --- .github/workflows/nuget.release.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/nuget.release.yml diff --git a/.github/workflows/nuget.release.yml b/.github/workflows/nuget.release.yml new file mode 100644 index 0000000..03e7ce8 --- /dev/null +++ b/.github/workflows/nuget.release.yml @@ -0,0 +1,27 @@ +name: NuGet Release + +on: + push: + branches: [ main ] # Default release branch + paths: + - 'src/**' + - '.github/workflows/**' + +env: + DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true + DOTNET_CLI_TELEMETRY_OPTOUT: true + +jobs: + call-workflow-nuget-release: + uses: Digitalroot-Valheim/.github/.github/workflows/nuget.release.yml@main + secrets: + awsaccesskeyid: ${{ secrets.NUGET_S3_REPO_KEY_ID }} + awssecretaccesskey: ${{ secrets.NUGET_S3_REPO_KEY_SECRET }} + with: + slnfilename: Digitalroot.Valheim.Common.Names + projfilename: Digitalroot.Valheim.Common.Names + #srcpath: src + #unittestpath: UnitTests + skipunittest: true + #forceassemblyversion: true + #awsregion: us-west-2