Skip to content

Commit

Permalink
johle
Browse files Browse the repository at this point in the history
  • Loading branch information
dh1tw committed Feb 17, 2025
1 parent a00549f commit 7d01929
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,7 @@ jobs:
go-version: '1.24'
- name: Build binary for ${{ matrix.version }}
run: |
git config --global --add safe.directory /usr/src/myapp
docker run --rm -v "$PWD":/usr/src/myapp -w /usr/src/myapp dh1tw/remoteaudio-xcompile:${{ matrix.version }} /bin/sh -c 'make dist'
docker run --rm -v "$PWD":/usr/src/myapp -w /usr/src/myapp dh1tw/remoteaudio-xcompile:${{ matrix.version }} /bin/sh -c 'git config --global --add safe.directory /usr/src/myapp && make dist'
- name: Prepare build artifact for stashing
run: |
mkdir release
Expand Down Expand Up @@ -120,7 +119,7 @@ jobs:
- name: Build binary for ${{ matrix.version }}
run: |
git config --global --add safe.directory /usr/src/myapp
docker run --rm -v "$PWD":/usr/src/myapp -w /usr/src/myapp dh1tw/remoteaudio-xcompile:${{ matrix.version }} /bin/sh -c 'make dist && /scripts/getlibs.sh .'
docker run --rm -v "$PWD":/usr/src/myapp -w /usr/src/myapp dh1tw/remoteaudio-xcompile:${{ matrix.version }} /bin/sh -c 'git config --global --add safe.directory /usr/src/myapp && make dist && /scripts/getlibs.sh .'
- name: Prepare build artifacts for stashing
run: |
mkdir release
Expand Down

0 comments on commit 7d01929

Please sign in to comment.