mirror of
https://github.com/Tyrrrz/DiscordChatExporter.git
synced 2025-05-28 13:44:12 -04:00
Fix chmod
This commit is contained in:
parent
67fedffcbd
commit
a7f628e943
1 changed files with 9 additions and 5 deletions
14
.github/workflows/main.yml
vendored
14
.github/workflows/main.yml
vendored
|
@ -138,12 +138,8 @@ jobs:
|
||||||
--runtime ${{ matrix.rid }}
|
--runtime ${{ matrix.rid }}
|
||||||
--self-contained
|
--self-contained
|
||||||
|
|
||||||
- name: Set permissions
|
|
||||||
if: ${{ !startsWith(matrix.rid, 'win-') }}
|
|
||||||
run: chmod +x ${{ matrix.app }}/bin/publish/${{ matrix.asset }}
|
|
||||||
|
|
||||||
- name: Generate macOS .app bundle resources
|
- name: Generate macOS .app bundle resources
|
||||||
if: matrix.app == 'DiscordChatExporter.Gui' && startsWith(matrix.rid, 'osx-')
|
if: ${{ startsWith(matrix.rid, 'osx-') && matrix.app == 'DiscordChatExporter.Gui' }}
|
||||||
shell: pwsh
|
shell: pwsh
|
||||||
run: >
|
run: >
|
||||||
./bundle-macos-app.ps1
|
./bundle-macos-app.ps1
|
||||||
|
@ -230,6 +226,14 @@ jobs:
|
||||||
name: ${{ matrix.asset }}.${{ matrix.rid }}
|
name: ${{ matrix.asset }}.${{ matrix.rid }}
|
||||||
path: ${{ matrix.app }}/
|
path: ${{ matrix.app }}/
|
||||||
|
|
||||||
|
- name: Set permissions
|
||||||
|
if: ${{ !startsWith(matrix.rid, 'win-') && !(startsWith(matrix.rid, 'osx-') && matrix.app == 'DiscordChatExporter.Gui') }}
|
||||||
|
run: chmod +x ${{ matrix.app }}/${{ matrix.asset }}
|
||||||
|
|
||||||
|
- name: Set permissions for macOS .app bundle
|
||||||
|
if: ${{ startsWith(matrix.rid, 'osx-') && matrix.app == 'DiscordChatExporter.Gui' }}
|
||||||
|
run: chmod +x ${{ matrix.app }}/${{ matrix.asset }}.app/Contents/MacOS/${{ matrix.asset }}
|
||||||
|
|
||||||
- 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 }}/
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue