diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 89f7be91..9c5af22e 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -14,7 +14,6 @@ jobs: registry-url: https://npm.pkg.github.com scope: '@olivierzal' cache: 'npm' - - run: echo $NPM_CONFIG_USERCONFIG > /home/runner/work/_temp/.npmrc - name: Publish uses: OlivierZal/github-action-homey-app-publish@patch-1 id: publish @@ -22,5 +21,6 @@ jobs: personal_access_token: ${{ secrets.HOMEY_PAT }} env: NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }} + NPM_CONFIG_USERCONFIG: ${{ env.NPM_CONFIG_USERCONFIG}} - name: URL run: echo "Manage your app at ${{ steps.publish.outputs.url }}." >> $GITHUB_STEP_SUMMARY