Skip to content
This repository has been archived by the owner on Jul 9, 2024. It is now read-only.

Commit

Permalink
ci: missing github app token [skip ci] (#30)
Browse files Browse the repository at this point in the history
  • Loading branch information
ronnetzer authored Mar 1, 2022
1 parent e273b16 commit e874871
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,6 @@ jobs:
if: ${{ fromJSON(needs.setup.outputs.hasChanges) && github.event_name == 'push' && github.ref == 'refs/heads/main' }}
needs: [setup, execute]
outputs:
github-token: ${{ steps.githubAppAuth.outputs.github-token }}
released: ${{ steps.release.outputs.released }}
version: ${{ steps.release.outputs.version }}
major: ${{ steps.release.outputs.major }}
Expand Down Expand Up @@ -176,11 +175,17 @@ jobs:
with:
name: build

- name: Obtain GitHub App Installation Access Token
uses: e-square-io/.github/.github/actions/get-app-token@main
id: githubAppAuth
with:
token: ${{ secrets.GH_AUTH_SECRET }}

- name: Publish action ${{ matrix.package }}
if: ${{ contains(needs.setup.outputs.matrix, matrix.package) }}
uses: e-square-io/.github/.github/actions/push-to-repo@main
with:
path: dist/packages/${{ matrix.package }}
github-token: ${{ needs.release.outputs.github-token }}
github-token: ${{ steps.githubAppAuth.outputs.github-token }}
version: ${{ needs.release.outputs.version }}
repository: ${{ matrix.package }}

0 comments on commit e874871

Please sign in to comment.