Skip to content

Commit

Permalink
Added release test printing the full context
Browse files Browse the repository at this point in the history
  • Loading branch information
PathogenDavid committed Sep 1, 2021
1 parent 298c5fa commit 10451a5
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/release-event-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,11 @@ jobs:
if: github.event.action == 'published'
runs-on: ubuntu-latest
steps:
- name: Test getting the release URL in a GitHub script
uses: actions/github-script@v3
with:
user-agent: actions/github-script for ${{github.repository}}
script: console.log(context);
- name: Create test file
run: |
echo "Hello, world! ${{github.event.release.name}}" > test.txt
Expand All @@ -45,7 +50,7 @@ jobs:
- name: Upload test files
uses: actions/github-script@v3
with:
github-token: ${{secrets.GITHUB_TOKEN}}
#github-token: ${{secrets.GITHUB_TOKEN}}
user-agent: actions/github-script for ${{github.repository}}
script: |
const fs = require('fs').promises;
Expand Down

0 comments on commit 10451a5

Please sign in to comment.