From 3d74525d8c83939d907a5a2547eae8c0ecfbb145 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sergio=20S=C3=A1nchez=20Ram=C3=ADrez?= Date: Mon, 26 Jun 2023 17:08:48 +0200 Subject: [PATCH] Authenticate as "Nisus Wittus" on "Register Package" workflow --- .github/workflows/Register-Package.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/Register-Package.yml b/.github/workflows/Register-Package.yml index d09f77cdc..e0d138212 100644 --- a/.github/workflows/Register-Package.yml +++ b/.github/workflows/Register-Package.yml @@ -7,8 +7,14 @@ jobs: steps: - uses: actions/checkout@v3 - uses: julia-actions/setup-julia@v1 + - name: Generate token + id: generate_token + uses: tibdex/github-app-token@b62528385c34dbc9f38e5f4225ac829252d1ea92 + with: + app_id: ${{ secrets.NISUS_APP_ID }} + private_key: ${{ secrets.NISUS_PRIVATE_KEY }} - uses: bsc-quantic/julia-register@v0.3 with: registry: bsc-quantic/Registry env: - GITHUB_TOKEN: ${{ secrets.REGISTRY_TOKEN }} + GITHUB_TOKEN: ${{ steps.generate_token.outputs.token }}