From 372517c78749c2ddd89533ec72035ef57a4b3a6f Mon Sep 17 00:00:00 2001 From: Theodore Ni <3806110+tjni@users.noreply.github.com> Date: Sun, 21 Feb 2021 14:05:20 -0800 Subject: [PATCH] Use GNU tar on OSX runners. Use GNU tar due to a strange issue with BSD tar on OSX runners. For more information, see: https://github.com/actions/virtual-environments/issues/2619 --- .github/workflows/release.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 00efa79..f7a6864 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -28,7 +28,9 @@ jobs: - name: Build run: cargo build --verbose --release - name: Package - run: tar -zcv -C target/release -f offstage-macos.tar.gz offstage + # Use GNU tar due to a strange issue with BSD tar on OSX runners. + # https://github.com/actions/virtual-environments/issues/2619 + run: gtar -zcv -C target/release -f offstage-macos.tar.gz offstage - uses: actions/upload-artifact@v2 with: name: macos