From 954163b8f4904a53986b2ff41dc032243dace645 Mon Sep 17 00:00:00 2001 From: Sylwester Zielinski Date: Fri, 26 Jul 2024 09:43:46 +0200 Subject: [PATCH] Add access to Github Packages to Github Actions --- .github/workflows/build.yml | 4 ++++ .github/workflows/publish.yml | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index bb9c3e4..b43107b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -6,6 +6,10 @@ on: - "**" - "!main" +env: + GITHUB_USERNAME: ${{ secrets.GITHUB_ACTOR }} + GITHUB_PASSWORD: ${{ secrets.GITHUB_TOKEN }} + jobs: lint: runs-on: ubuntu-latest diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index aab9322..7fa234d 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -5,6 +5,10 @@ on: branches: - "main" +env: + GITHUB_USERNAME: ${{ secrets.GITHUB_ACTOR }} + GITHUB_PASSWORD: ${{ secrets.GITHUB_TOKEN }} + jobs: lint: runs-on: ubuntu-latest