Skip to content

Commit

Permalink
Fix workflow
Browse files Browse the repository at this point in the history
Signed-off-by: Ismael González <[email protected]>
  • Loading branch information
ismaelgv committed Nov 6, 2021
1 parent 2278435 commit fc68556
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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}"
Expand All @@ -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}"
Expand Down

0 comments on commit fc68556

Please sign in to comment.