diff --git a/.github/workflows/publish_charm.yaml b/.github/workflows/publish_charm.yaml index 775592a22..54385b387 100644 --- a/.github/workflows/publish_charm.yaml +++ b/.github/workflows/publish_charm.yaml @@ -111,7 +111,7 @@ jobs: GITHUB_TOKEN: ${{ secrets.REPO_ACCESS_TOKEN }} - name: Get current run id if: ${{ github.event_name == 'pull_request' }} - shell: bash + shell: bash run: | echo "RUN_ID=${{ github.run_id }}" >> $GITHUB_ENV get-images: @@ -143,6 +143,7 @@ jobs: id: gen-rock-paths-and-images uses: actions/github-script@v6.4.1 with: + working-directory: ${{ inputs.working-directory }} script: | const path = require('path') const workingDir = core.getInput('working-directory')