From fc68556607d3038930099d56149a60aa8a32e4c6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ismael=20Gonz=C3=A1lez?= Date: Sat, 6 Nov 2021 19:33:48 +0100 Subject: [PATCH] Fix workflow MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Ismael González --- .github/workflows/release.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5ff16e7..8af195f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -22,7 +22,7 @@ jobs: target: "x86_64-unknown-linux-gnu" cross: false - os: "ubuntu-latest" - target: "x86_64-unknown-linux-gnu" + target: "x86_64-unknown-linux-musl" cross: true - os: "ubuntu-latest" target: "aarch64-unknown-linux-gnu" @@ -77,6 +77,7 @@ jobs: env: VERSION: ${{ steps.version.outputs.version }} run: | + workflow_dir=$(pwd) # Avoid ${GITHUB_WORKFLOW} since Windows mixes path styles. package_name="${PROJECT_NAME}-${VERSION}-${TARGET}" ext=".tag.gz" deploy_dir="${BUILD_DIR}/${package_name}" @@ -96,7 +97,7 @@ jobs: # Archive pushd "${BUILD_DIR}" - tar czf "${GITHUB_WORKSPACE}/${package_name}${ext}" "${package_name}"/* + tar czf "${workflow_dir}/${package_name}${ext}" "${package_name}"/* popd rm -r "${BUILD_DIR}"