Skip to content

Commit

Permalink
ci: fix workflow file syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
7sDream committed May 10, 2024
1 parent 815cb5b commit 898480e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/action-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ jobs:
- name: Move and rename binary
shell: bash
run: |
mv target/${{ matrix.rust-target }}/${{ inputs.profile == "dev" && "debug" || inputs.profile }}/${{ inputs.name }}${{ fromJSON('["", ".exe"]')[matrix.platform == 'win32'] }} ${{ inputs.name }}-${{ matrix.platform }}-${{ matrix.arch }}-${{ matrix.libc }}${{ fromJSON('["", ".exe"]')[matrix.platform == 'win32'] }}
mv target/${{ matrix.rust-target }}/${{ inputs.profile == 'dev' && 'debug' || inputs.profile }}/${{ inputs.name }}${{ fromJSON('["", ".exe"]')[matrix.platform == 'win32'] }} ${{ inputs.name }}-${{ matrix.platform }}-${{ matrix.arch }}-${{ matrix.libc }}${{ fromJSON('["", ".exe"]')[matrix.platform == 'win32'] }}
- name: Upload binary
uses: actions/upload-artifact@v3
with:
Expand Down

0 comments on commit 898480e

Please sign in to comment.