Skip to content

Commit a5fe01c

Browse files
committed
Update build_plugin.yml
1 parent f5aae00 commit a5fe01c

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

.github/workflows/build_plugin.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,17 +8,17 @@ on:
88

99
jobs:
1010
build:
11-
runs-on: ubuntu-latest
11+
runs-on: windows-latest
1212
env:
1313
python_ver: 3.13.1
1414
permissions:
1515
contents: write
1616

1717
steps:
18-
- uses: actions/checkout@v2
18+
- uses: actions/checkout@v4
1919

2020
- name: Set up Python ${{ env.python_ver }}
21-
uses: actions/setup-python@v2
21+
uses: actions/setup-python@v5
2222
with:
2323
python-version: ${{ env.python_ver }}
2424

@@ -33,17 +33,18 @@ jobs:
3333

3434
- name: Install dependencies
3535
run: |
36-
python -m pip install --upgrade pip
36+
pip install --upgrade pip
3737
pip install -r ./requirements.txt -t ./lib
3838
3939
- name: Build Archive
4040
run: |
41-
python build_plugin.py ${{ github.event.repository.name }}.zip
41+
py build_plugin.py ${{ github.event.repository.name }}.zip
4242
4343
- name: Extract Archive To Dist
4444
run: |
4545
mkdir dist
46-
unzip -q ${{ github.event.repository.name }}.zip -d dist
46+
cd dist
47+
tar -xf .\..\${{ github.event.repository.name }}.zip
4748
4849
- name: Upload Archive to workflow artifacts
4950
id: upload-artifact

0 commit comments

Comments
 (0)