From c20337648947c08bde148d46304eb14d77b8ed7e Mon Sep 17 00:00:00 2001 From: Dan Royer Date: Thu, 28 Sep 2023 18:25:06 -0700 Subject: [PATCH] use secrets.GITHUB_TOKEN instead of github.token --- .github/workflows/maven-publish.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/maven-publish.yml b/.github/workflows/maven-publish.yml index 8684648..e23ddd8 100644 --- a/.github/workflows/maven-publish.yml +++ b/.github/workflows/maven-publish.yml @@ -34,4 +34,4 @@ jobs: - name: Publish to GitHub Packages Apache Maven run: mvn deploy -s $GITHUB_WORKSPACE/settings.xml env: - GITHUB_TOKEN: ${{ github.token }} + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}