Skip to content

Commit

Permalink
up
Browse files Browse the repository at this point in the history
  • Loading branch information
syaiful-aa committed Jun 28, 2024
1 parent ce30a1a commit 2d247bf
Showing 1 changed file with 24 additions and 24 deletions.
48 changes: 24 additions & 24 deletions .github/workflows/exp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,30 +8,30 @@ jobs:
steps:
- uses: actions/checkout@v3

# - name: Create tag
# uses: actions/github-script@v6
# with:
# script: |
# github.rest.git.createTag({
# owner: 'syaiful-aa',
# repo: 'quick_math',
# tag: 'v2.5.0',
# message: 'exp',
# object: 'b0894005c70be201673dd17f699fa3a5d576241c',
# type: 'commit',
# tagger: {
# name: 'GitHub Action',
# email: '[email protected]'
# }
# })

- name: Create Tag
- name: Create tag
uses: actions/github-script@v6
with:
script: |
github.rest.git.createRef({
owner: context.repo.owner,
repo: context.repo.repo,
ref: 'refs/tags/v2.5.0',
sha: context.sha
})
github.rest.git.createTag({
owner: 'syaiful-aa',
repo: 'quick_math',
tag: 'v2.5.0',
message: 'exp',
object: context.sha,
type: 'commit',
tagger: {
name: 'GitHub Action',
email: '[email protected]'
}
})
# - name: Create Tag
# uses: actions/github-script@v6
# with:
# script: |
# github.rest.git.createRef({
# owner: context.repo.owner,
# repo: context.repo.repo,
# ref: 'refs/tags/v2.5.0',
# sha: context.sha
# })

0 comments on commit 2d247bf

Please sign in to comment.