Skip to content

Commit e20ed46

Browse files
committed
male poprawki
1 parent b48546a commit e20ed46

File tree

1 file changed

+10
-15
lines changed

1 file changed

+10
-15
lines changed

.github/workflows/pinstaltkinter.yaml

Lines changed: 10 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,8 @@ name: Package Tkinter version of Familiada app
22

33
on:
44
push:
5-
branches: [ tkinterVersion ]
65
tags:
7-
- 'tkinter_v*' # Push events to tkinterVersion branch with a tag that starts with 'tkinter_v'
6+
- 'tkinter_v*' # Push events with a tag that starts with 'tkinter_v'
87

98
jobs:
109
build:
@@ -19,29 +18,25 @@ jobs:
1918

2019
# Step to create a flat directory for carrying output files
2120
- name: Create output directory
22-
run: mkdir flat
21+
run: mkdir familiada_all
2322

2423
# Step to move compiled Windows binaries
2524
- name: Move Windows binaries
26-
run: mv src/dist/windows/* flat/
25+
run: mv src/dist/windows/* familiada_all/
2726

2827
# Step to move data file
2928
- name: Move data file
30-
run: mv dane.csv flat/
31-
32-
# Upload artifacts as an artifact in the workflow (optional)
33-
- name: Upload artifacts for download
34-
uses: actions/upload-artifact@v4
35-
with:
36-
name: Familiada
37-
path: flat
38-
compression-level: 0
29+
run: mv dane.csv familiada_all/
30+
31+
# Step to zip the flat folder
32+
- name: Zip output folder
33+
run: zip -r familiada.zip familiada_all
3934

40-
# Step to create a release and upload the artifacts
35+
# Step to create a release and upload the zipped folder as an asset
4136
- name: Create Release
4237
id: create_release
4338
uses: softprops/action-gh-release@v1
4439
with:
45-
files: flat
40+
files: familiada.zip
4641
env:
4742
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)