-
Notifications
You must be signed in to change notification settings - Fork 0
37 lines (33 loc) · 971 Bytes
/
exp.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
name: exp
on: push
jobs:
fire:
runs-on: ubuntu-latest
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
uses: actions/github-script@v6
with:
script: |
github.rest.git.createRef({
owner: context.repo.owner,
repo: context.repo.repo,
ref: 'v2.5.0',
sha: 'b0894005c70be201673dd17f699fa3a5d576241c'
})