We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b793de7 commit 56056dbCopy full SHA for 56056db
.github/workflows/release.yml
@@ -1,11 +1,9 @@
1
name: Build Artifacts
2
3
-on: push
4
-
5
-# on:
6
-# release:
7
-# types:
8
-# - created
+on:
+ release:
+ types:
+ - created
9
10
jobs:
11
build:
@@ -27,8 +25,7 @@ jobs:
27
25
id: get_release
28
26
with:
29
script: |
30
- // const tag = context.ref.replace('refs/tags/', '');
31
- const tag = 'v1.46.7';
+ const tag = context.ref.replace('refs/tags/', '');
32
const { owner, repo } = context.repo;
33
const { data: { upload_url } } = await github.rest.repos.getReleaseByTag({ owner, repo, tag });
34
0 commit comments