1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-11-19 02:46:33 -05:00
v2fly/.github/workflows/sign.yml

27 lines
705 B
YAML
Raw Normal View History

2020-07-02 12:34:15 -04:00
name: Sign
on:
release:
types: [released]
jobs:
2020-08-24 04:09:51 -04:00
sign:
2020-07-02 12:34:15 -04:00
runs-on: ubuntu-latest
steps:
2020-08-24 04:09:51 -04:00
- name: Checkout default branch
uses: actions/checkout@v2
2020-07-02 12:34:15 -04:00
2020-08-24 04:09:51 -04:00
- name: Grant it execution permission
run: |
chmod +x $GITHUB_WORKSPACE/release/requestsign.sh
2020-07-02 12:34:15 -04:00
- name: Invoke release signing
env:
SIGN_SERVICE_PASSWORD: ${{ secrets.SIGN_SERVICE_PASSWORD }}
SIGN_SERIVCE_URL: ${{ secrets.SIGN_SERIVCE_URL }}
2020-08-24 04:09:51 -04:00
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
export SIGN_VERSION=$(cat $GITHUB_EVENT_PATH| jq -r ".release.tag_name")
echo $SIGN_VERSION
$GITHUB_WORKSPACE/release/requestsign.sh