Skip to content

Commit

Permalink
fix(ci): set GITHUB_OUTPUT
Browse files Browse the repository at this point in the history
  • Loading branch information
PoisonPhang committed Aug 13, 2024
1 parent dc8ecd1 commit b517031
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/e2e-manual.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,23 @@ jobs:
load-secrets:
runs-on: ubuntu-latest
outputs:
union-org-pat: ${{ steps.op-load-secret.UNION_ORG_PAT }}
nixbuild-token: ${{ steps.op-load-secret.NIXBUILD_TOKEN }}
union-org-pat: ${{ steps.op-set-secret.UNION_ORG_PAT }}
nixbuild-token: ${{ steps.op-set-secret.NIXBUILD_TOKEN }}
steps:
- name: Load Secrets
id: op-load-secret
uses: 1password/load-secrets-action@v2
with:
export-env: false
export-env: true
env:
OP_SERVICE_ACCOUNT_TOKEN: ${{ secrets.OP_SERVICE_ACCOUNT_TOKEN }}
UNION_ORG_PAT: op://ci/union-org-pat/pat
NIXBUILD_TOKEN: op://ci/nixbuild-token/token
- name: Set Secrets Output
id: op-set-secret
run: |
echo "UNION_ORG_PAT=$UNION_ORG_PAT" >> $GITHUB_OUTPUT
echo "NIXBUILD_TOKEN=$NIXBUILD_TOKEN" >> $GITHUB_OUTPUT
build:
needs: load-secrets
Expand Down

0 comments on commit b517031

Please sign in to comment.