Skip to content

Commit 83578b1

Browse files
committed
disable ci build
1 parent 311fb9c commit 83578b1

File tree

3 files changed

+872
-195
lines changed

3 files changed

+872
-195
lines changed

.github/workflows/build.yml

Lines changed: 34 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,12 @@ jobs:
2626
git config --global user.name "github-actions[bot]"
2727
git config --global user.email "github-actions[bot]@users.noreply.github.com"
2828
29-
- name: Update submodule
30-
if: github.event_name == 'repository_dispatch'
31-
run: |
32-
cd dict
33-
git checkout master
34-
git pull
29+
# - name: Update submodule
30+
# if: github.event_name == 'repository_dispatch'
31+
# run: |
32+
# cd dict
33+
# git checkout master
34+
# git pull
3535

3636
- name: Update tag
3737
if: startsWith(github.ref, 'refs/tags/')
@@ -42,41 +42,42 @@ jobs:
4242
(gc radical.schema.yaml -Raw) -replace 'version: "\d\.\d\.\d"',"version: `"${{ github.ref_name }}`"" | Out-File radical.schema.yaml
4343
(gc radical_pinyin.schema.yaml -Raw) -replace 'version: "\d\.\d\.\d"',"version: `"${{ github.ref_name }}`"" | Out-File radical_pinyin.schema.yaml
4444
45-
- name: Update build branch
46-
run: |
47-
$Status = git status --porcelain
48-
if ( $Status ) {
49-
"Update submodule"
50-
$info = (irm https://whatthecommit.com/index.txt).trim()
51-
git add --all
52-
git commit -m "$info" && git push origin build
53-
}
45+
# - name: Update build branch
46+
# run: |
47+
# $Status = git status --porcelain
48+
# if ( $Status ) {
49+
# "Update submodule"
50+
# $info = (irm https://whatthecommit.com/index.txt).trim()
51+
# git add --all
52+
# git commit -m "$info" && git push origin build
53+
# }
5454

55-
- name: Set up Python
56-
uses: actions/setup-python@v5
57-
with:
58-
python-version: '3.x'
59-
cache: 'pip'
55+
# - name: Set up Python
56+
# uses: actions/setup-python@v5
57+
# with:
58+
# python-version: '3.x'
59+
# cache: 'pip'
6060

61-
- name: Build
62-
run: |
63-
make
61+
# - name: Build
62+
# run: |
63+
# make
6464

6565
- name: Update
6666
run: |
6767
$ErrorActionPreference = 'Break'
6868
# $CommitInfo = Get-Date -UFormat %s
69-
$CommitInfo = (irm https://whatthecommit.com/index.txt).trim()
69+
# $CommitInfo = (irm https://whatthecommit.com/index.txt).trim()
7070
71-
git checkout master
72-
cp gen/radical_pinyin.dict.yaml , gen/radical_pinyin.schema.yaml
73-
cp gen/radical_flypy.dict.yaml, gen/radical.schema.yaml
74-
$Status = git status --porcelain
75-
if ( $Status ) {
76-
"Push to master branch"
77-
git add --all
78-
git commit -m "$CommitInfo" && git push origin master
79-
}
71+
# git checkout master
72+
# cp gen/radical_pinyin.dict.yaml , gen/radical_pinyin.schema.yaml
73+
# cp gen/radical_flypy.dict.yaml, gen/radical.schema.yaml
74+
# $Status = git status --porcelain
75+
# if ( $Status ) {
76+
# "Push to master branch"
77+
# git add --all
78+
# git commit -m "$CommitInfo" && git push origin master
79+
# }
80+
mkdir gen
8081
Compress-Archive "radical_pinyin.schema.yaml","radical_pinyin.dict.yaml" "gen/radical_pinyin.zip"
8182
Compress-Archive "radical_flypy.dict.yaml","radical.schema.yaml" "gen/radical_flypy.zip"
8283
Compress-Archive "lua", "build" "gen/extra.zip"

0 commit comments

Comments
 (0)