Skip to content

Commit

Permalink
Should actually be correct now
Browse files Browse the repository at this point in the history
  • Loading branch information
Kas-tle authored Apr 14, 2024
1 parent 4881a0c commit 6fb8ce8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ on:
runId:
required: true
description: 'ID of the action to pull artifacts from'
version:
required: true
description: 'Version under which to upload to the Downloads API'

jobs:
upload:
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/pullrequest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -108,12 +108,13 @@ jobs:
uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea
with:
script: |
github.rest.repos.createWorkflowDispatch({
github.rest.actions.createWorkflowDispatch({
owner: context.repo.owner,
repo: context.repo.repo,
workflow_id: 'preview.yml',
ref: 'actions-testing',
inputs: {
runId: '${{ github.run_id }}'
runId: '${{ github.run_id }}',
version: 'pr-${{ github.event.pull_request.number }}'
}
});

0 comments on commit 6fb8ce8

Please sign in to comment.