From bf35c2438086b0b8dc0486b6c37b792204b90ff7 Mon Sep 17 00:00:00 2001 From: Jan Laupetin Date: Tue, 9 Sep 2025 20:23:23 +0200 Subject: [PATCH] chore: set executable bit on linux ci artifacts --- .github/workflows/ci.yaml | 7 ++++++- .github/workflows/release.yaml | 7 ++++++- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 4e00d9d8..ac5843e2 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -15,6 +15,9 @@ jobs: build_arch: [x86, x64] runs-on: ubuntu-latest container: ubuntu:24.04 + defaults: + run: + shell: bash steps: - name: Install g++ and multilib run: | @@ -38,7 +41,9 @@ jobs: - name: Build working-directory: ${{ github.workspace }} - run: make -C build -j$(nproc) config=release_${{ matrix.build_arch }} all + run: | + make -C build -j$(nproc) config=release_${{ matrix.build_arch }} all + chmod +x build/bin/Release_${{ matrix.build_arch }}/{ImageConverter,Unlinker,Linker} - name: Test working-directory: ${{ github.workspace }}/build/lib/Release_${{ matrix.build_arch }}/tests diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 716b1019..1fea7860 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -9,6 +9,9 @@ jobs: build-release-linux: runs-on: ubuntu-latest container: ubuntu:24.04 + defaults: + run: + shell: bash steps: - name: Install g++ and multilib run: | @@ -33,7 +36,9 @@ jobs: - name: Build working-directory: ${{ github.workspace }} - run: make -C build -j$(nproc) config=release_x86 all + run: | + make -C build -j$(nproc) config=release_x86 all + chmod +x build/bin/Release_${{ matrix.build_arch }}/{ImageConverter,Unlinker,Linker} - name: Upload artifacts uses: actions/upload-artifact@v4