Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
BurnhamR authored Jul 9, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent 70c2f5f commit 9d0240b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -15,7 +15,7 @@ jobs:
- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: '16'
node-version: '18'

- name: Install dependencies
run: npm install
@@ -36,7 +36,7 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
LOG_URL="${{ github.server_url }}/${{ github.repository }}/suites/${{ github.run_id }}/artifacts"
LOG_URL="${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}#artifact"
COMMENT="Build failed. [View log](${LOG_URL})"
curl -s -X POST -H "Authorization: token $GITHUB_TOKEN" \
-d "{\"body\": \"$COMMENT\"}" \

0 comments on commit 9d0240b

Please sign in to comment.