Skip to content

Commit

Permalink
Fix workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
stefan-mysten committed Oct 10, 2024
1 parent f805283 commit f9c617c
Showing 1 changed file with 9 additions and 17 deletions.
26 changes: 9 additions & 17 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,26 +89,18 @@ jobs:
[ -f ~/.cargo/env ] && source ~/.cargo/env ; cd mvr-cli && cargo build --release && mv target/release/mvr-cli target/release/mvr-${os_type}${extension}
- name: Rename and compress binaries for ${{ matrix.os }}
shell: bash
run: |
mkdir -p ${{ env.TMP_BUILD_DIR }}
mv mvr-cli/target/release/mvr-cli${{ env.extension }} ${{ env.TMP_BUILD_DIR }}/mvr-${{ env.os_type }}${{ env.extension }}
done
- name: Attach artifacts to ${{ env.mvr_tag }} release in GH
uses: softprops/action-gh-release@de2c0eb89ae2a093876385947365aca7b0e5f844 # pin@v1
with:
files: |
./mvr-cli/target/release/mvr-${{ env.os_type }}${{ env.extension }}
./tmp/mvr-${{ env.os_type }}${{ env.extension }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

# - name: Rename and compress binaries for ${{ matrix.os }}
# shell: bash
# run: |
# mkdir -p ${{ env.TMP_BUILD_DIR }}
# export binary="mvr"
# mv mvr-cli/target/release/${binary}${{ env.extension }} ${{ env.TMP_BUILD_DIR }}/${binary}-${{ env.os_type }}${{ env.extension }}
# done
#
# - name: Attach artifacts to ${{ env.mvr_tag }} release in GH
# uses: softprops/action-gh-release@de2c0eb89ae2a093876385947365aca7b0e5f844 # pin@v1
# with:
# files: |
# ./tmp/mvr-${{ env.os_type }}${{ env.extension }}
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit f9c617c

Please sign in to comment.