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
|
2022-03-02 00:10:12 -05:00
|
|
|
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 }}
|
|
|
|
SIGN_SERIVCE_URL: ${{ secrets.SIGN_SERIVCE_URL }}
|
2020-08-24 04:09:51 -04:00
|
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
2020-11-30 07:17:33 -05:00
|
|
|
run: |
|
|
|
|
export SIGN_VERSION=$(cat $GITHUB_EVENT_PATH| jq -r ".release.tag_name")
|
|
|
|
echo $SIGN_VERSION
|
|
|
|
$GITHUB_WORKSPACE/release/requestsign.sh
|