Skip to content

bump version to 3.3.2 #113

bump version to 3.3.2

bump version to 3.3.2 #113

Workflow file for this run

name: .NET Debug Test and Publish Nuget Package
on:
push:
branches: [ "main" ]
jobs:
build:
runs-on: windows-latest
env:
Artifact_Directory: ${{ github.workspace }}\artifacts\packages
Nuget_Config_Path: NuGet.config
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: |
8.0.x
10.0.x
- name: Remove local NuGet sources
run: |
dotnet nuget remove source local --configfile $env:Nuget_Config_Path
continue-on-error: true
- name: Configure Nuget Source
run: |
dotnet nuget update source github -s "https://nuget.pkg.github.com/xcaciv/index.json" -u xcaciv -p ${{ secrets.NUGET_PAT }} --store-password-in-clear-text --configfile $env:Nuget_Config_Path
dotnet nuget add source "$env:Artifact_Directory" --name local-artifacts --configfile $env:Nuget_Config_Path
- name: Run build script (UseNet08, publish)
shell: pwsh
env:
NUGET_PAT: ${{ secrets.NUGET_PAT }}
run: |
./build.ps1 -UseNet08 -NuGetSource "https://nuget.pkg.github.com/xcaciv/index.json" -NuGetApiKey $env:NUGET_PAT -LocalNuGetDirectory "$env:Artifact_Directory"
- name: Upload packages
if: ${{ always() }}
uses: actions/upload-artifact@v4
with:
name: packages
path: artifacts/packages