Skip to content

Commit

Permalink
added +x to binaries
Browse files Browse the repository at this point in the history
  • Loading branch information
Petr Gadorek authored and Hahihula committed Nov 25, 2024
1 parent 851e983 commit 2e408f2
Showing 1 changed file with 29 additions and 13 deletions.
42 changes: 29 additions & 13 deletions .github/workflows/build_tauri.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,14 @@ jobs:
prerelease: false
args: ${{ matrix.args }}

- name: Add +x permission to the binary
if: matrix.platform == 'ubuntu-22.04'
run: |
chmod +x src-tauri/target/release/eim
chmod +x src-tauri/target/release/bundle/appimage/*.AppImage
- name: Upload app Linux binary
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: matrix.platform == 'ubuntu-22.04'
with:
name: eim-linux-x86_64-binary
Expand All @@ -91,7 +97,7 @@ jobs:
if-no-files-found: error

- name: Upload app .deb
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: matrix.platform == 'ubuntu-22.04'
with:
name: eim-linux-x86_64-deb
Expand All @@ -100,7 +106,7 @@ jobs:
if-no-files-found: error

- name: Upload app .rpm
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: matrix.platform == 'ubuntu-22.04'
with:
name: eim-linux-x86_64-rpm
Expand All @@ -109,16 +115,21 @@ jobs:
if-no-files-found: error

- name: Upload app .AppImage
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: matrix.platform == 'ubuntu-22.04'
with:
name: eim-linux-x86_64-AppImage
path: |
src-tauri/target/release/bundle/appimage/*.AppImage
if-no-files-found: error

- name: Add +x permission to the binary
if: matrix.platform == 'macos-latest'
run: |
chmod +x src-tauri/target/aarch64-apple-darwin/release/eim
- name: Upload app MacOs binary
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: matrix.platform == 'macos-latest'
with:
name: eim-macos-aarch64-binary
Expand All @@ -127,7 +138,7 @@ jobs:
if-no-files-found: error

- name: Upload app MacOs
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: matrix.platform == 'macos-latest'
with:
name: eim-macos-aarch64-dmg
Expand All @@ -136,25 +147,30 @@ jobs:
if-no-files-found: error

- name: Upload app MacOs
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: matrix.platform == 'macos-latest'
with:
name: eim-macos-aarch64-app
path: |
src-tauri/target/aarch64-apple-darwin/release/bundle/macos/*.app
if-no-files-found: error

- name: Add +x permission to the binary
if: matrix.platform == 'macos-12'
run: |
chmod +x src-tauri/target/x86_64-apple-darwin/release/eim
- name: Upload MacOs intel app binary
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: matrix.platform == 'macos-12'
with:
name: eim-macos-x86_64-dmg
name: eim-macos-x86_64-binary
path: |
src-tauri/target/x86_64-apple-darwin/release/eim
if-no-files-found: error

- name: Upload app MacOs
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: matrix.platform == 'macos-12'
with:
name: eim-macos-x86_64-dmg
Expand All @@ -163,7 +179,7 @@ jobs:
if-no-files-found: error

- name: Upload app MacOs
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: matrix.platform == 'macos-12'
with:
name: eim-macos-x86_64-app
Expand All @@ -172,7 +188,7 @@ jobs:
if-no-files-found: error

- name: Upload app Windows binary
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: matrix.platform == 'windows-latest'
with:
name: eim-windows-binary
Expand All @@ -181,7 +197,7 @@ jobs:
if-no-files-found: error

- name: Upload app Windows
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: matrix.platform == 'windows-latest'
with:
name: eim-windows-msi
Expand Down

0 comments on commit 2e408f2

Please sign in to comment.