Skip to content

up

up #5

Workflow file for this run

name: exp
on: push
jobs:
fire:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: log
run: |

Check failure on line 12 in .github/workflows/exp.yml

View workflow run for this annotation

GitHub Actions / exp

Invalid workflow file

The workflow is not valid. .github/workflows/exp.yml (Line: 12, Col: 14): Unrecognized named-value: 'context'. Located at position 1 within expression: context
echo ${{ context }}
- name: Create tag
uses: actions/github-script@v6
with:
script: |
github.rest.git.createTag({
owner: context.repo.owner,
repo: context.repo.repo,
tag: 'refs/tags/v2.5.0',
message: 'exp',
object: 'b0894005c70be201673dd17f699fa3a5d576241c',
type: commit,
tagger: {
name: 'GitHub Action',
email: '[email protected]'
}
})