Skip to content

Commit b97aae2

Browse files
committed
Prevent compilations from clobber each other in shared workspace
1 parent 76098b6 commit b97aae2

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

.github/workflows/main.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ jobs:
1111
env:
1212
# Set the version of ruby-install to use
1313
RUBY_INSTALL_VERSION: 0.9.4
14+
BUILD_PATH: build/${{ matrix.os }}-${{ matrix.arch }}
15+
ARCHIVE_PATH: ${{ matrix.os }}-${{ matrix.arch }}.tar.gz
1416

1517
runs-on: ${{ matrix.os }}
1618
strategy:
@@ -49,11 +51,10 @@ jobs:
4951
sudo make install
5052
ruby-install --version
5153
52-
# Run your build script
54+
# Run your build script. BUILD_PATH and ARCHIVE_PATH are used by this script.
5355
- name: Run build script
5456
run: |
5557
bash builder/build.sh
56-
mv build/build.tar.gz ${{ matrix.os }}-${{ matrix.arch }}.tar.gz
5758
5859
# Upload the final tar.gz artifact for each OS/arch
5960
- name: Upload build artifact

0 commit comments

Comments
 (0)