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}"