Skip to content

Commit

Permalink
try to kill infinite loop
Browse files Browse the repository at this point in the history
  • Loading branch information
CamJN committed Dec 20, 2023
1 parent 593cb2a commit b63e156
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 5 deletions.
14 changes: 10 additions & 4 deletions .github/workflows/node.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,14 @@ jobs:
with:
token: ${{ secrets.GH_PAT_WRITE }}
- name: Bump Version
run: npm version patch
id: version
run: echo "version=$(npm version patch)\n" >> $GITHUB_OUTPUT
- name: Push tag
run: |
git push origin tag $(git tag --points-at HEAD)
git push origin
run: git push origin tag ${{ steps.version.outputs.version }}
- uses: actions/checkout@v4
# deliberately do NOT trigger workflow on push to main
with:
ref: ${{ steps.version.outputs.version }}
token: ${{ github.token }}
- name: Push main
run: git push origin HEAD:main
10 changes: 9 additions & 1 deletion .github/workflows/npm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,20 @@ on:

jobs:
publish-gpr:
runs-on: ubuntu-latest
runs-on: macos-latest
permissions:
contents: read
packages: write
id-token: write
steps:
- uses: actions/checkout@v4
with:
repository: getargv/getargv
path: getargv
token: ${{ secrets.GH_PAT }}
- name: Build libgetargv
run: make install_dylib
working-directory: getargv
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
Expand Down

0 comments on commit b63e156

Please sign in to comment.