⚡ feat: bump minor version to add support for APS environment variabl… #261
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: .NET Core | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
language: [ 'csharp' ] | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Setup .NET Core | |
uses: actions/setup-dotnet@v4 | |
with: | |
dotnet-version: 8.0.x | |
- name: Initialize CodeQL | |
uses: github/codeql-action/init@v3 | |
with: | |
languages: ${{ matrix.language }} | |
- name: Autobuild | |
id: build | |
uses: github/codeql-action/autobuild@v3 | |
- name: Perform CodeQL Analysis | |
id: CodeQL_analysis | |
uses: github/codeql-action/analyze@v3 | |
- name: Test | |
id: test | |
run: dotnet test tests/Autodesk.Forge.Core.Test/Autodesk.Forge.Core.Test.csproj | |
- name: Publish | |
id: publish_to_Nuget | |
if: ${{ github.event_name =='push' && github.ref == 'refs/heads/main'}} | |
run: | | |
dotnet msbuild src/Autodesk.Forge.Core/Autodesk.Forge.Core.csproj /t:Push | |
dotnet msbuild src/Autodesk.Forge.Core.E2eTestHelpers/Autodesk.Forge.Core.E2eTestHelpers.csproj /t:Push | |
env: | |
NugetApiKey: ${{ secrets.NUGETAPIKEYBYENGOPS }} |