Skip to content

Commit f3f5383

Browse files
committed
fix script
1 parent 2b07456 commit f3f5383

File tree

2 files changed

+27
-3
lines changed

2 files changed

+27
-3
lines changed
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
jobs:
2+
generate:
3+
runs-on: ubuntu-latest
4+
steps:
5+
- name: Git checkout for Github repository workspace
6+
uses: actions/checkout@v4
7+
8+
- name: Setup python environment
9+
uses: actions/setup-python@v4
10+
with:
11+
python-version: "3.11"
12+
13+
- name: Install python requirements packages
14+
run: pip install -r scripts/requirements.txt
15+
16+
- name: Start generate...
17+
run: python scripts/generate.py
18+
19+
- uses: actions/upload-artifact@v3
20+
with:
21+
name: MKVerilog-lib.zip
22+
path: out

.github/workflows/build.yaml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,6 @@ on:
1515
- main
1616

1717
jobs:
18-
setup:
19-
uses: .github/workflows/generate.yaml
20-
2118
deploy:
2219
runs-on: ubuntu-latest
2320
# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
@@ -33,6 +30,11 @@ jobs:
3330
name: github-pages
3431
url: ${{ steps.deployment.outputs.page_url }}
3532
steps:
33+
- uses: actions/checkout@v4
34+
35+
- name: Local Action Call
36+
uses: .github/actions/generate
37+
3638
- shell: bash
3739
run: mkdir out_deploy
3840

0 commit comments

Comments
 (0)