Skip to content
This repository was archived by the owner on Dec 14, 2025. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 10 additions & 9 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,6 @@ jobs:
Build:
runs-on: ubuntu-latest
steps:
# Load secrets from 1Password
- uses: 1password/load-secrets-action@v2
id: op-load-secret
with:
export-env: false
env:
OP_SERVICE_ACCOUNT_TOKEN: ${{ secrets.OP_SERVICE_ACCOUNT_TOKEN_PUBLIC }}
NUGET_AUTH_TOKEN: "op://GitHub Actions - Public/NuGet - Azure Artifacts/credential"

- uses: actions/checkout@v4
- uses: actions/setup-dotnet@v4
with:
Expand Down Expand Up @@ -62,6 +53,16 @@ jobs:
name: Packages
path: artifacts

# Load secrets from 1Password
- uses: 1password/load-secrets-action@v2
if: ${{ github.event_name != 'pull_request' }}
id: op-load-secret
with:
export-env: false
env:
OP_SERVICE_ACCOUNT_TOKEN: ${{ secrets.OP_SERVICE_ACCOUNT_TOKEN_PUBLIC }}
NUGET_AUTH_TOKEN: "op://GitHub Actions - Public/NuGet - Azure Artifacts/credential"

- name: Publish NuGet packages to Azure Artifacts
if: ${{ github.event_name != 'pull_request' }}
run: |
Expand Down