Skip to content

Commit 8800ef1

Browse files
committed
Update ci script
1 parent 44e5b83 commit 8800ef1

File tree

1 file changed

+28
-28
lines changed

1 file changed

+28
-28
lines changed

.github/workflows/zip.yml

Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,28 @@
1-
name: Release
2-
3-
on: push
4-
5-
jobs:
6-
win:
7-
runs-on: windows-latest
8-
steps:
9-
- uses: actions/checkout@v2
10-
- uses: conda-incubator/setup-miniconda@v2
11-
with:
12-
miniforge-version: latest
13-
- name: Install
14-
run: |
15-
conda install -y pyglet cx_freeze ffmpeg
16-
conda list
17-
cxfreeze --version
18-
- name: Build
19-
run: |
20-
.\tools\freeze.bat
21-
xcopy C:\Miniconda3\envs\test\Library\bin\*.dll dist /y
22-
xcopy C:\Miniconda3\envs\test\Library\bin\ffmpeg.exe dist
23-
7z a brainworkshop.zip dist\*
24-
- name: Release
25-
uses: softprops/action-gh-release@v1
26-
if: startsWith(github.ref, 'refs/tags/')
27-
with:
28-
files: brainworkshop.zip
1+
name: Release
2+
3+
on: push
4+
5+
jobs:
6+
win:
7+
runs-on: windows-latest
8+
steps:
9+
- uses: actions/checkout@v4
10+
- uses: conda-incubator/setup-miniconda@v3
11+
with:
12+
miniforge-version: latest
13+
- name: Install
14+
run: |
15+
conda install -y pyglet cx_freeze ffmpeg
16+
conda list
17+
cxfreeze --version
18+
- name: Build
19+
run: |
20+
.\tools\freeze.bat
21+
xcopy C:\Miniconda3\envs\test\Library\bin\*.dll dist /y
22+
xcopy C:\Miniconda3\envs\test\Library\bin\ffmpeg.exe dist
23+
7z a brainworkshop.zip dist\*
24+
- name: Release
25+
uses: softprops/action-gh-release@v2
26+
if: startsWith(github.ref, 'refs/tags/')
27+
with:
28+
files: brainworkshop.zip

0 commit comments

Comments
 (0)