github.com/v2fly/v2ray-core/v5@v5.16.2-0.20240507031116-8191faa6e095/.github/workflows/sign.yml (about)

     1  name: Sign
     2  
     3  on:
     4    release:
     5      types: [released]
     6  
     7  jobs:
     8    sign:
     9      runs-on: ubuntu-latest
    10      steps:
    11        - name: Checkout default branch
    12          uses: actions/checkout@v3
    13  
    14        - name: Grant it execution permission
    15          run: |
    16            chmod +x $GITHUB_WORKSPACE/release/requestsign.sh
    17  
    18        - name: Invoke release signing
    19          env:
    20            SIGN_SERVICE_PASSWORD: ${{ secrets.SIGN_SERVICE_PASSWORD }}
    21            SIGN_SERIVCE_URL: ${{ secrets.SIGN_SERIVCE_URL_V5 }}
    22            GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
    23          run: |
    24            export SIGN_VERSION=$(cat $GITHUB_EVENT_PATH| jq -r ".release.tag_name")
    25            echo $SIGN_VERSION
    26            $GITHUB_WORKSPACE/release/requestsign.sh