mirror of
https://github.com/v2fly/v2ray-core.git
synced 2025-01-06 09:26:59 -05:00
fd30b97a85
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v2...v3) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
27 lines
705 B
YAML
27 lines
705 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 }}
|
|
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
|