Skip to content

Commit 50b9f05

Browse files
committed
testcommit
1 parent ad3de4b commit 50b9f05

File tree

3 files changed

+59
-59
lines changed

3 files changed

+59
-59
lines changed

.github/workflows/release_action.yml

+58
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
name: ci
2+
on:
3+
push:
4+
branches:
5+
- master
6+
- main
7+
jobs:
8+
deploy:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@v2
12+
- uses: actions/setup-python@v2
13+
with:
14+
python-version: 3.x
15+
- run: pip install mkdocs-material
16+
- run: mkdocs gh-deploy --force
17+
18+
# name: your_woekflow_name
19+
20+
# on:
21+
# push:
22+
# # run only against tags
23+
# tags:
24+
# - '*'
25+
26+
# permissions:
27+
# contents: write
28+
# # packages: write
29+
# # issues: write
30+
31+
# jobs:
32+
# your_job_id:
33+
# runs-on: ubuntu-latest
34+
# steps:
35+
# # checkout action 是一个标准动作,当以下情况时必须且需要率先使用:
36+
# # (1)workflow 需要项目库的代码副本,比如构建、测试、或持续集成这些操作。
37+
# # (2)workflow 中至少有一个 action是在同一个项目库下定义的。
38+
# - uses: actions/checkout@v3
39+
# # 如果你只想浅克隆你的库,或者只复制最新的版本,你可以在 with中使用fetch-depth声明,
40+
# # 例如: fetch-depth: 1
41+
# with:
42+
# fetch-depth: 0
43+
# - run: git fetch --force --tags
44+
# - uses: actions/setup-go@v3
45+
# with:
46+
# go-version: '>=1.18.1'
47+
# cache: true
48+
# # More assembly might be required: Docker logins, GPG, etc. It all depends
49+
# # on your needs.
50+
# - uses: goreleaser/goreleaser-action@v2
51+
# with:
52+
# # either 'goreleaser' (default) or 'goreleaser-pro':
53+
# distribution: goreleaser
54+
# version: latest
55+
# args: release --rm-dist
56+
# env:
57+
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
58+

bak/release_action.yml

-58
This file was deleted.

release.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ git commit -m "testcommit"
44
# master: your branch name
55
git push origin master
66
# vXX.XX.XX: your version. your tag
7-
git tag -a v0.3.80 -m "test release"
7+
git tag -a v0.3.81 -m "test release"
88
# release and push to github & docker.io
99
goreleaser release --rm-dist
1010
# only test realase

0 commit comments

Comments
 (0)