Skip to content

Commit e949237

Browse files
committed
.github: workflow updated
1 parent 5fdc1c0 commit e949237

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

.github/workflows/publish.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -54,24 +54,24 @@ jobs:
5454

5555
steps:
5656
- name: Install extra packages
57-
run: sudo apt-get install --no-install-recommends -y gcc-mingw-w64 mingw-w64-i686-dev mingw-w64-x86-64-dev build-essential python3-virtualenv
57+
run: sudo apt-get install --no-install-recommends -y gcc-mingw-w64 mingw-w64-i686-dev mingw-w64-x86-64-dev build-essential python3
5858

5959
- name: Check out repository code
6060
uses: actions/checkout@v4
6161
with:
6262
persist-credentials: false
6363

6464
- name: Prebuild LUA for windows i686
65-
run: cd lua && ./build-mingw.sh i686-w64-mingw32 i686
65+
run: cd python_lua_helper/lua && ./build-mingw.sh i686-w64-mingw32 i686
6666

6767
- name: Prebuild LUA for windows x86_64
68-
run: cd lua && ./build-mingw.sh x86_64-w64-mingw32 x86_64
68+
run: cd python_lua_helper/lua && ./build-mingw.sh x86_64-w64-mingw32 x86_64
6969

7070
- name: Initialize venv
71-
run: virtualenv /tmp/build_venv && /tmp/build_venv/bin/pip --require-virtualenv install --upgrade pip build
71+
run: python -m venv ./venv && . ./venv/bin/activate && pip install --upgrade pip build
7272

7373
- name: Build package
74-
run: /tmp/build_venv/bin/python -m build --sdist
74+
run: . ./venv/bin/activate && python -m build --sdist
7575

7676
- name: Store the distribution packages
7777
uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)