Skip to content

Commit 31e3612

Browse files
committed
See if using a different action will trigger a build
1 parent 3ea1a0b commit 31e3612

File tree

1 file changed

+5
-11
lines changed

1 file changed

+5
-11
lines changed

.github/workflows/create-snapshots.yml

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -5,18 +5,12 @@ on:
55
- main
66

77
jobs:
8-
build:
8+
create-tag:
99
runs-on: ubuntu-latest
10-
1110
steps:
12-
- name: Create tag
13-
uses: actions/github-script@v5
11+
- uses: actions/checkout@v2
12+
- uses: rickstaa/action-create-tag@v1
1413
with:
15-
script: |
16-
github.rest.git.createRef({
17-
owner: context.repo.owner,
18-
repo: context.repo.repo,
19-
ref: 'refs/tags/snapshot-${{ github.sha }}',
20-
sha: context.sha
21-
})
14+
tag: 'snapshot-${{ github.sha }}'
15+
message: "auto generated snapshot pushed to main"
2216

0 commit comments

Comments
 (0)