1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-11-10 06:16:53 -05:00
v2fly/.github/workflows/sign.yml

27 lines
708 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@v3
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 }}
2022-08-19 18:01:56 -04:00
SIGN_SERIVCE_URL: ${{ secrets.SIGN_SERIVCE_URL_V5 }}
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