Skip to content

Commit

Permalink
Fix filenames
Browse files Browse the repository at this point in the history
  • Loading branch information
vintagepc committed Jul 13, 2021
1 parent 49862be commit eb81596
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,13 +88,13 @@ jobs:
cd ${{ runner.workspace }}/MINI404/build
mv buddy-softmmu Mini404-dev-linux
mv assets Mini404-dev-linux
tar -jhcvf Mini404-dev-build-linux.tar.bz2 Mini404-dev-linux
tar -jhcvf Mini404-dev-linux.tar.bz2 Mini404-dev-linux
- name: Upload artifact
if: ${{ !github.event.pull_request }}
uses: actions/upload-artifact@v2
with:
name: Binaries
path: ${{ runner.workspace }}/MINI404/build/Mini404-dev-build-linux.tar.bz2
path: ${{ runner.workspace }}/MINI404/build/Mini404-dev-linux.tar.bz2

# build_osx:
# # The type of runner that the job will run on
Expand Down Expand Up @@ -218,15 +218,15 @@ jobs:
bash.exe -c "for i in `ldd qemu-system-buddy.exe | grep \"not found\" | cut -f2 | cut -d\" \" -f1 | sort | uniq`; do echo Copying $i; cp /usr/x86_64-w64-mingw32/sys-root/mingw/bin/$i .; done"
bash.exe -c "while `ldd *.dll | grep -q \"not found\"`; do for i in `ldd *.dll | grep \"not found\" | cut -f2 | cut -d\" \" -f1 | sort | uniq`; do echo Copying $i; cp /usr/x86_64-w64-mingw32/sys-root/mingw/bin/$i .; done; sleep 2; done"
cd ..
zip -r Mini404-dev-build-w64.zip Mini404-dev-w64
zip -r Mini404-dev-w64.zip Mini404-dev-w64
shell: cmd

- name: Upload Cygwin artifact
if: ${{ !github.event.pull_request }}
uses: actions/upload-artifact@v2
with:
name: Binaries
path: ${{ runner.workspace }}/MINI404/build/Mini404-dev-build-w64.zip
path: ${{ runner.workspace }}/MINI404/build/Mini404-dev-w64.zip

Publish:
runs-on: ubuntu-latest
Expand All @@ -246,8 +246,8 @@ jobs:
- name: Build ${{ steps.get_version.outputs.VERSION }} archives
if: startsWith(github.ref, 'refs/tags/v')
run: |
tar -jxvf Mini404-dev-build-linux.tar.bz2
unzip Mini404-dev-build-w64.zip
tar -jxvf Mini404-dev-linux.tar.bz2
unzip Mini404-dev-w64.zip
mv Mini404-dev-linux Mini404-${{ steps.get_version.outputs.VERSION }}-linux
mv Mini404-dev-w64 Mini404-${{ steps.get_version.outputs.VERSION }}-w64
tar -jcvf Mini404-${{ steps.get_version.outputs.VERSION }}-linux.tar.bz2 Mini404-${{ steps.get_version.outputs.VERSION }}-linux
Expand Down

0 comments on commit eb81596

Please sign in to comment.