1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-07-14 17:24:17 -04:00
v2fly/.github/workflows/sign.yml
2022-08-19 23:01:56 +01:00

27 lines
708 B
YAML

name: Sign
on:
release:
types: [released]
jobs:
sign:
runs-on: ubuntu-latest
steps:
- name: Checkout default branch
uses: actions/checkout@v3
- name: Grant it execution permission
run: |
chmod +x $GITHUB_WORKSPACE/release/requestsign.sh
- name: Invoke release signing
env:
SIGN_SERVICE_PASSWORD: ${{ secrets.SIGN_SERVICE_PASSWORD }}
SIGN_SERIVCE_URL: ${{ secrets.SIGN_SERIVCE_URL_V5 }}
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