From 7b415f5b5ee1d35d21ca5b6cfac2f30878e12ce6 Mon Sep 17 00:00:00 2001 From: Artem Dinaburg Date: Sat, 16 May 2020 02:07:09 -0400 Subject: [PATCH] Fix emit artifact --- .github/workflows/ci.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6ecde830..ff73372f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -34,7 +34,8 @@ jobs: if: github.event_name == 'push' && github.ref == 'refs/heads/master' run: | mkdir -p artifacts - docker run -v "$(pwd)/artifacts:/out" --rm docker.pkg.github.com/trailofbits/cxx-common/llvm${{ matrix.llvm }}-ubuntu${{ matrix.ubuntu }}-amd64:latest -c "/cxx-common/emit-artifact.sh /out/libraries-llvm${{ matrix.llvm }}-ubuntu${{ matrix.ubuntu }}-amd64.tar.xz" + cp -v emit-artifact.sh ./artifacts/ + docker run -v "$(pwd)/artifacts:/out" --rm docker.pkg.github.com/trailofbits/cxx-common/llvm${{ matrix.llvm }}-ubuntu${{ matrix.ubuntu }}-amd64:latest -c "/out/emit-artifact.sh /out/libraries-llvm${{ matrix.llvm }}-ubuntu${{ matrix.ubuntu }}-amd64.tar.xz" ls -l artifacts/ - uses: actions/upload-artifact@v1 if: github.event_name == 'push' && github.ref == 'refs/heads/master'