Skip to content

Commit 51bbcd9

Browse files
authored
Merge pull request #12 from Sensing-Dev/fix/icon-image-include
Fix/icon image not include in the package
2 parents e1b68f5 + bfa31b6 commit 51bbcd9

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ jobs:
2525
Copy-Item ${{ github.workspace }}/convert.py ${{ github.workspace }}/viewer
2626
Copy-Item ${{ github.workspace }}/gui.py ${{ github.workspace }}/viewer
2727
Copy-Item ${{ github.workspace }}/utils.py ${{ github.workspace }}/viewer
28+
New-Item -Path ${{ github.workspace }}/viewer -Name "icon" -ItemType "directory"
29+
Copy-Item ${{ github.workspace }}/icon/loading-icon.jpg ${{ github.workspace }}/viewer/icon
2830
Compress-Archive -Path ${{ github.workspace }}/viewer -DestinationPath ${{ github.workspace }}/viewer-${{ github.ref_name }}-win64.zip
2931
3032
- name: Extract archive content test
@@ -68,6 +70,7 @@ jobs:
6870
cp ../convert.py .
6971
cp ../gui.py .
7072
cp ../utils.py .
73+
cp -r ../icon .
7174
tar -czvf ${{ github.workspace }}/viewer-${{ github.ref_name }}-linux.tar.gz .
7275
7376
- name: Extract archive content test
@@ -89,4 +92,4 @@ jobs:
8992
files: |
9093
viewer-${{ github.ref_name }}-linux.tar.gz
9194
env:
92-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
95+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)