Skip to content

Commit 19dd2b4

Browse files
committed
Update WF
1 parent 0fad476 commit 19dd2b4

File tree

1 file changed

+20
-20
lines changed

1 file changed

+20
-20
lines changed

.github/workflows/on-interscript-release.yml

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -12,23 +12,23 @@ jobs:
1212
runs-on: ubuntu-latest
1313
if: startsWith(github.event.client_payload.ref, 'refs/tags/v')
1414
steps:
15-
# - run: echo "disabled for now"
16-
- uses: actions/checkout@v1
17-
18-
- name: Setup env-vars
19-
run: |
20-
REF="${{ github.event.client_payload.ref }}"
21-
INTERSCRIPT_VERSION=${REF#refs/*/v}
22-
echo "INTERSCRIPT_VERSION=$INTERSCRIPT_VERSION" >> $GITHUB_ENV
23-
echo "API_TAG_NAME=$INTERSCRIPT_VERSION" >> $GITHUB_ENV
24-
25-
- name: Create API Release
26-
uses: actions/create-release@v1
27-
with:
28-
token: ${{ env.GITHUB_PUSH_TOKEN }}
29-
tag_name: v${{env.API_TAG_NAME}}
30-
# release_name: Release v${{env.INTERSCRIPT_VERSION}}
31-
# body: Auto release API v${{env.INTERSCRIPT_VERSION}} by @interscript-ci
32-
body: "#release-by-ci for Interscript Gem v${{env.INTERSCRIPT_VERSION}}"
33-
draft: false
34-
prerelease: false
15+
- run: echo "disabled for now"
16+
# - uses: actions/checkout@v1
17+
#
18+
# - name: Setup env-vars
19+
# run: |
20+
# REF="${{ github.event.client_payload.ref }}"
21+
# INTERSCRIPT_VERSION=${REF#refs/*/v}
22+
# echo "INTERSCRIPT_VERSION=$INTERSCRIPT_VERSION" >> $GITHUB_ENV
23+
# echo "API_TAG_NAME=$INTERSCRIPT_VERSION" >> $GITHUB_ENV
24+
#
25+
# - name: Create API Release
26+
# uses: actions/create-release@v1
27+
# with:
28+
# token: ${{ env.GITHUB_PUSH_TOKEN }}
29+
# tag_name: v${{env.API_TAG_NAME}}
30+
## release_name: Release v${{env.INTERSCRIPT_VERSION}}
31+
## body: Auto release API v${{env.INTERSCRIPT_VERSION}} by @interscript-ci
32+
# body: "#release-by-ci for Interscript Gem v${{env.INTERSCRIPT_VERSION}}"
33+
# draft: false
34+
# prerelease: false

0 commit comments

Comments
 (0)