Skip to content

Commit

Permalink
CI: When releasing, don't copy the file; it's redundant.
Browse files Browse the repository at this point in the history
  • Loading branch information
SamirTalwar committed Aug 16, 2020
1 parent 72c8619 commit 276164a
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,8 @@ jobs:
- id: asset
run: |
export TAG="${{ github.ref }}"
export ASSET_NAME="smoke-${TAG##*/}-$(uname -s)-$(uname -m)"
echo ::set-output name=asset_name::"$ASSET_NAME"
echo ::set-output name=asset_path::"out/publish/${ASSET_NAME}"
- run: |
mkdir -p "$(dirname ${{ steps.asset.outputs.asset_path }})"
cp out/build/release/smoke ${{ steps.asset.outputs.asset_path }}
echo "::set-output name=asset_name::smoke-${TAG##*/}-$(uname -s)-$(uname -m)"
echo "::set-output name=asset_path::out/build/release/smoke"
- uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit 276164a

Please sign in to comment.