mirror of
https://github.com/Tyrrrz/DiscordChatExporter.git
synced 2026-04-27 16:25:36 +00:00
Set the executable permission on CLI entrypoint script before packaging for release
This commit is contained in:
7
.github/workflows/main.yml
vendored
7
.github/workflows/main.yml
vendored
@@ -167,11 +167,16 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
name: ${{ matrix.app }}
|
name: ${{ matrix.app }}
|
||||||
path: ${{ matrix.app }}/
|
path: ${{ matrix.app }}/
|
||||||
|
|
||||||
|
- name: Configure permissions
|
||||||
|
# Remove this when the GUI also becomes cross-platform
|
||||||
|
if: ${{ matrix.app == 'DiscordChatExporter.Cli' }}
|
||||||
|
run: chmod +x ${{ matrix.app }}/${{ matrix.app }}.sh
|
||||||
|
|
||||||
- name: Create package
|
- name: Create package
|
||||||
# Change into the artifacts directory to avoid including the directory itself in the zip archive
|
# Change into the artifacts directory to avoid including the directory itself in the zip archive
|
||||||
working-directory: ${{ matrix.app }}/
|
working-directory: ${{ matrix.app }}/
|
||||||
run: zip -r ../${{ matrix.asset }}.zip .
|
run: zip -rX ../${{ matrix.asset }}.zip .
|
||||||
|
|
||||||
- name: Upload release asset
|
- name: Upload release asset
|
||||||
env:
|
env:
|
||||||
|
|||||||
Reference in New Issue
Block a user