Skip to content

Commit

Permalink
fix(ci): permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
rubenfonseca committed Mar 6, 2023
1 parent a85a653 commit c5129f1
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,10 @@ jobs:
run: git config --global --add safe.directory $GITHUB_WORKSPACE
- name: Set git identity
run: |-
git config --global --add user.name "github-actions"
git config --global --add user.email "github-actions@github.com"
git config user.name "github-actions"
git config user.email "github-actions@github.com"
- name: give user docker permission so we can run tests
run: sudo chown $(whoami) /var/run/docker.sock
- name: Set up QEMU
uses: docker/setup-qemu-action@e81a89b1732b9c48d79cd809d8d81d79c4647a18 # v2.0.0
with:
Expand All @@ -35,8 +37,6 @@ jobs:
platforms: linux/amd64,linux/arm64
- name: Install dependencies
run: yarn install --check-files --frozen-lockfile
- name: give user docker permission so we can run tests
run: sudo chown $(whoami) /var/run/docker.sock
- name: release
run: npx projen release
- name: Check for new commits
Expand All @@ -51,7 +51,6 @@ jobs:
path: dist
container:
image: jsii/superchain:1-buster-slim-node16
options: --user root
release_github:
name: Publish to GitHub Releases
needs: release
Expand Down

0 comments on commit c5129f1

Please sign in to comment.