Skip to content

Commit

Permalink
fix(git): add permission read script files before release process
Browse files Browse the repository at this point in the history
META DATA: @toantranmei
  • Loading branch information
toantranmei committed Apr 5, 2024
1 parent 00b2b59 commit ba036f4
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
run: npm run test

- name: Release Edge
if: github.event_name == 'push' && steps.changes.outputs.src == 'true'
if: github.event_name == 'push' && steps.check.outputs.changed == 'true'
run: ./scripts/release-edge.sh
env:
NODE_AUTH_TOKEN: ${{secrets.NODE_AUTH_TOKEN}}
4 changes: 1 addition & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,6 @@ jobs:

- name: Release
if: github.event_name == 'push' && steps.check.outputs.changed == 'true'
run: |
git update-index --chmod=+x ./scripts/release.sh
./scripts/release.sh
run: ./scripts/release.sh
env:
NODE_AUTH_TOKEN: ${{ secrets.NODE_AUTH_TOKEN }}
Empty file modified scripts/release-edge.sh
100644 → 100755
Empty file.
Empty file modified scripts/release.sh
100644 → 100755
Empty file.

0 comments on commit ba036f4

Please sign in to comment.