mirror of https://github.com/0xERR0R/blocky.git
directory fix
This commit is contained in:
parent
b429daa114
commit
dc0ec8952f
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue