github.com/v2fly/v2ray-core/v4@v4.45.2/.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@v2
    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 }}
    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