mirror of
https://github.com/Tyrrrz/DiscordChatExporter.git
synced 2024-09-19 12:18:48 -04:00
Set the executable permission on CLI entrypoint script before packaging for release
This commit is contained in:
parent
0e87098889
commit
47d560229d
1 changed files with 6 additions and 1 deletions
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:
|
||||
|
|
Loading…
Reference in a new issue