Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Update Version 3.8.7

Update Version 3.8.7 #78

Workflow file for this run

name:Deploy Release
on:
push:
branches:
-'master'
jobs:
deploy:
strategy:
matrix:
python-version:[3.6.x]
python-arch:[x64]
env:
PYTHONIOENCODING:"utf-8"
runs-on:ubuntu-latest
steps:
-name:Dump GitHub context
env:
GITHUB_CONTEXT:${{ toJson(github) }}
run:echo "$GITHUB_CONTEXT"
-name:Format ci info on tag
if:startsWith(github.event.head_commit.message, 'Update Version')
run:|
echo "TAG_NAME=$(echo ${{ github.event.head_commit.message }} | cut -c15-)" >> $GITHUB_ENV
-name:Checkout
uses:actions/checkout@v2
-name:Add tag
if:startsWith(github.event.head_commit.message, 'Update Version')
uses:mathieudutour/github-tag-action@v5.6
with:
github_token:${{ secrets.GITHUB_TOKEN }}
custom_tag:${{ env.TAG_NAME }}
create_annotated_tag:true
tag_prefix:''
-name:Install ghr
if:startsWith(github.event.head_commit.message, 'Update Version')
env:
GHR_FORK:tcnksm/ghr
GHR_VERSION:0.14.0
run:|
curl --silent -L https://github.com/${{env.GHR_FORK}}/releases/download/v${{env.GHR_VERSION}}/ghr_v${{env.GHR_VERSION}}_linux_amd64.tar.gz > ghr_v${{env.GHR_VERSION}}_linux_amd64.tar.gz
tar xvzf ghr_v${{env.GHR_VERSION}}_linux_amd64.tar.gz
mv ghr_v${{env.GHR_VERSION}}_linux_amd64/ghr /usr/local/bin/
rm -rf ghr_v${{env.GHR_VERSION}}_linux_amd64 ghr_v${{env.GHR_VERSION}}_linux_amd64.tar.gz
-name:Publish to github release
if:startsWith(github.event.head_commit.message, 'Update Version')
run:|
ghr -u shinny-yangyang -t ${{ secrets.GITHUB_USER_TOKEN }} ${{ env.TAG_NAME }}

[8]ページ先頭

©2009-2025 Movatter.jp