mirror of
https://github.com/Tyrrrz/DiscordChatExporter.git
synced 2026-02-10 20:02:31 +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:
|
||||
name: ${{ 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
|
||||
# Change into the artifacts directory to avoid including the directory itself in the zip archive
|
||||
working-directory: ${{ matrix.app }}/
|
||||
run: zip -r ../${{ matrix.asset }}.zip .
|
||||
run: zip -rX ../${{ matrix.asset }}.zip .
|
||||
|
||||
- name: Upload release asset
|
||||
env:
|
||||
|
||||
Reference in New Issue
Block a user