Skip to content

Commit

Permalink
It should work now
Browse files Browse the repository at this point in the history
  • Loading branch information
lrettig committed Jul 25, 2024
1 parent 7fd9b3f commit 0e8598a
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -177,16 +177,13 @@ jobs:
VERSION_NAME: ${{ (env.IS_NIGHTLY && 'nightly') || needs.prepare.outputs.tag_name }}
shell: bash
run: |
pwd
ls -la
ls -la ./ffi
if [ "$PLATFORM_NAME" == "linux" ]; then
tar -czvf "cargo_athena_${VERSION_NAME}_${PLATFORM_NAME}_${ARCH}.tar.gz" -C ./target/${TARGET}/release cargo-athena
echo "file_name_1=cargo_athena_${VERSION_NAME}_${PLATFORM_NAME}_${ARCH}.tar.gz" >> $GITHUB_OUTPUT
tar -czvf "athena_vmlib_${VERSION_NAME}_${PLATFORM_NAME}_${ARCH}.tar.gz" \
-C $GITHUB_WORKSPACE/target/${TARGET}/release libathena_vmlib.so \
-C $GITHUB_WORKSPACE/ffi/athcon lib include \
--exclude='CMakeLists.txt'
--exclude='CMakeLists.txt' \
-C $GITHUB_WORKSPACE/ffi/athcon lib include
echo "file_name_2=athena_vmlib_${VERSION_NAME}_${PLATFORM_NAME}_${ARCH}.tar.gz" >> $GITHUB_OUTPUT
elif [ "$PLATFORM_NAME" == "darwin" ]; then
# We need to use gtar here otherwise the archive is corrupt.
Expand Down

0 comments on commit 0e8598a

Please sign in to comment.