-
Notifications
You must be signed in to change notification settings - Fork 0
34 lines (31 loc) · 1.06 KB
/
on-interscript-release.yml
File metadata and controls
34 lines (31 loc) · 1.06 KB
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
name: on-interscript-release
on:
repository_dispatch:
types: [ interscript/interscript ]
env:
GITHUB_PUSH_TOKEN: ${{ secrets.INTERSCRIPT_CI_PAT }}
jobs:
create-release:
runs-on: ubuntu-latest
if: startsWith(github.event.client_payload.ref, 'refs/tags/v')
steps:
- run: echo "disabled for now"
# - uses: actions/checkout@v1
#
# - name: Setup env-vars
# run: |
# REF="${{ github.event.client_payload.ref }}"
# INTERSCRIPT_VERSION=${REF#refs/*/v}
# echo "INTERSCRIPT_VERSION=$INTERSCRIPT_VERSION" >> $GITHUB_ENV
# echo "API_TAG_NAME=$INTERSCRIPT_VERSION" >> $GITHUB_ENV
#
# - name: Create API Release
# uses: actions/create-release@v1
# with:
# token: ${{ env.GITHUB_PUSH_TOKEN }}
# tag_name: v${{env.API_TAG_NAME}}
## release_name: Release v${{env.INTERSCRIPT_VERSION}}
## body: Auto release API v${{env.INTERSCRIPT_VERSION}} by @interscript-ci
# body: "#release-by-ci for Interscript Gem v${{env.INTERSCRIPT_VERSION}}"
# draft: false
# prerelease: false