Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
target dir
Browse files Browse the repository at this point in the history
lwshang committed Sep 14, 2022
1 parent ff6d601 commit ded168c
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/release-optimizer.yml
Original file line number Diff line number Diff line change
@@ -55,10 +55,7 @@ jobs:
- name: Strip release binary (linux and macos)
if: matrix.os == 'ubuntu-latest' || matrix.os == 'macos-latest'
run: |
pushd target/release
sudo chown -R $(whoami) .
strip ic-cdk-optimizer
popd
strip target/${{ matrix.target }}/release/ic-cdk-optimizer
- name: Create archives
shell: bash
@@ -67,11 +64,11 @@ jobs:
mkdir -p "$staging"
if [ "${{ matrix.os }}" = "windows-latest" ]; then
cp target/release/ic-cdk-optimizer.exe "$staging/"
cp target/${{ matrix.target }}/release/ic-cdk-optimizer.exe "$staging/"
7z a "$staging.zip" "$staging"
echo "ASSET=$staging.zip" >> $GITHUB_ENV
else
cp target/release/ic-cdk-optimizer "$staging/"
cp target/${{ matrix.target }}/release/ic-cdk-optimizer "$staging/"
tar czf "$staging.tar.gz" "$staging"
echo "ASSET=$staging.tar.gz" >> $GITHUB_ENV
fi

0 comments on commit ded168c

Please sign in to comment.