From b47d040d81ff15d4743582136324616ea18e9580 Mon Sep 17 00:00:00 2001 From: syaiful-aa Date: Fri, 28 Jun 2024 16:55:54 +0700 Subject: [PATCH] up --- .github/workflows/exp.yml | 35 +++++++++++++++++++++++------------ 1 file changed, 23 insertions(+), 12 deletions(-) diff --git a/.github/workflows/exp.yml b/.github/workflows/exp.yml index 2ca8f5d..daab1a0 100644 --- a/.github/workflows/exp.yml +++ b/.github/workflows/exp.yml @@ -8,19 +8,30 @@ jobs: steps: - uses: actions/checkout@v3 - - name: Create tag + # - 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: 'action@github.com' + # } + # }) + + - 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: 'action@github.com' - } + github.rest.git.createRef({ + owner: context.repo.owner, + repo: context.repo.repo, + ref: 'v2.5.0', + sha: 'b0894005c70be201673dd17f699fa3a5d576241c' }) \ No newline at end of file