directory fix

This commit is contained in:
Kwitsch 2024-04-12 13:55:31 +00:00
parent b429daa114
commit dc0ec8952f
1 changed files with 4 additions and 4 deletions

View File

@ -85,16 +85,16 @@ jobs:
- name: Rename binary
run: |
if [[ "${{ inputs.goos }}" == "windows" ]]; then
mv build/blocky build/blocky.exe
mv bin/blocky bin/blocky.exe
elif [[ "${{ inputs.goarch }}" == "arm" ]]; then
mv build/blocky build/blocky-${{ inputs.goos }}-${{ inputs.goarch }}${{ inputs.goarm }}
mv bin/blocky bin/blocky-${{ inputs.goos }}-${{ inputs.goarch }}${{ inputs.goarm }}
else
mv build/blocky build/blocky-${{ inputs.goos }}-${{ inputs.goarch }}
mv bin/blocky bin/blocky-${{ inputs.goos }}-${{ inputs.goarch }}
fi
- name: Store build artifact
uses: actions/upload-artifact@v2
with:
name: blocky
path: build/blocky*
path: bin/blocky*
retention-days: 5