Skip to content

Commit

Permalink
ci: fix file path upload to release step
Browse files Browse the repository at this point in the history
Release-As: 0.3.0
  • Loading branch information
Zel9278 committed Sep 27, 2024
1 parent 28c6521 commit a8f731b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -82,12 +82,12 @@ jobs:
if: ${{ inputs.tag-name }}
working-directory: dist/
run: |
if [ -e cloudflare-ip-address-changer-rs.exe ]; then
if [ -e target/${{ matrix.platform.target }}/release/cloudflare-ip-address-changer-rs.exe ]; then
filename="cloudflare-ip-address-changer-rs-${{ inputs.tag-name }}-${{ matrix.platform.target }}.exe"
mv cloudflare-ip-address-changer-rs.exe "$filename"
mv target/${{ matrix.platform.target }}/release/cloudflare-ip-address-changer-rs.exe "$filename"
gh release upload ${{ inputs.tag-name }} "$filename"#${{ matrix.platform.target }} --clobber
else
filename="cloudflare-ip-address-changer-rs-${{ inputs.tag-name }}-${{ matrix.platform.target }}"
mv cloudflare-ip-address-changer-rs "$filename"
mv target/${{ matrix.platform.target }}/release/cloudflare-ip-address-changer-rs "$filename"
gh release upload ${{ inputs.tag-name }} "$filename"#${{ matrix.platform.target }} --clobber
fi

0 comments on commit a8f731b

Please sign in to comment.