Skip to content

Commit

Permalink
build(gha): fix permission denied error
Browse files Browse the repository at this point in the history
  • Loading branch information
EdieLemoine committed Nov 8, 2023
1 parent 2da524a commit 83aff9c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
5 changes: 3 additions & 2 deletions .github/actions/release/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,9 @@ runs:
#language=sh
run: |
yarn pdk-builder release \
--root-command="docker run --rm -v $PWD:/app -w /app ${{ inputs.image }}" \
--version ${{ inputs.version }} -vvv
--version ${{ inputs.version }} \
--root-command="docker run -t --user $(id -u):$(id -g) -v $PWD:/app -w /app ${{ inputs.image }}" \
-v
- name: 'Upload build artifacts'
uses: actions/upload-artifact@v3
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ jobs:

- uses: myparcelnl/actions/semantic-release@v3
id: release
env:
PDK_ROOT_COMMAND: 'docker run -t --user $(id -u):$(id -g) -v $PWD:/app -w /app ${{ steps.build.outputs.image }}'
with:
token: ${{ steps.credentials.outputs.token }}
write-summary: true
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ jobs:
shell: bash
#language=sh
run: |
docker run \
docker run -t \
--volume $PWD:/app \
${{ steps.setup.outputs.image }} \
php -dpcov.enabled=1 \
Expand Down

0 comments on commit 83aff9c

Please sign in to comment.