Skip to content

Commit

Permalink
Update build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
jozefbaranec authored Mar 21, 2024
1 parent 62afd1b commit 35f6e2e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,11 +73,11 @@ jobs:
- name: Build ARM64 binary
run: pyinstaller --target-architecture=arm64 src/lang_detect.py
- name: Zip the dist folder
run: zip -r lang-detect_${{ needs.prepare.outputs.short_sha }}_mac-arm64.zip dist/
run: zip -r lang-detect_${{ needs.prepare.outputs.short_sha }}_macos-arm64.zip dist/
- name: Upload ZIP to FTP
shell: bash
run: |
curl -T lang-detect_${{ needs.prepare.outputs.short_sha }}_mac-arm64.zip ftp://dev.linux.build.pdfix.net/public/builds/plug-ins/lang-detect/main/${{ needs.prepare.outputs.short_sha }}/ --user "${{ secrets.FTP_USERNAME }}:${{ secrets.FTP_PASSWORD }}" --ftp-create-dirs
curl -T lang-detect_${{ needs.prepare.outputs.short_sha }}_macos-arm64.zip ftp://dev.linux.build.pdfix.net/public/builds/plug-ins/lang-detect/main/${{ needs.prepare.outputs.short_sha }}/ --user "${{ secrets.FTP_USERNAME }}:${{ secrets.FTP_PASSWORD }}" --ftp-create-dirs
build-macos-x86_64:
runs-on: macos-latest
Expand All @@ -93,7 +93,7 @@ jobs:
- name: Build x86_64 binary
run: pyinstaller --target-architecture=x86_64 src/lang_detect.py
- name: Zip the dist folder
run: zip -r lang-detect_${{ needs.prepare.outputs.short_sha }}_mac-x86_64.zip dist/
run: zip -r lang-detect_${{ needs.prepare.outputs.short_sha }}_macos-x86_64.zip dist/
- name: Upload ZIP to FTP
run: |
curl -T lang-detect_${{ needs.prepare.outputs.short_sha }}_mac-x86_64.zip ftp://dev.linux.build.pdfix.net/public/builds/plug-ins/lang-detect/main/${{ needs.prepare.outputs.short_sha }}/ --user "${{ secrets.FTP_USERNAME }}:${{ secrets.FTP_PASSWORD }}" --ftp-create-dirs
curl -T lang-detect_${{ needs.prepare.outputs.short_sha }}_macos-x86_64.zip ftp://dev.linux.build.pdfix.net/public/builds/plug-ins/lang-detect/main/${{ needs.prepare.outputs.short_sha }}/ --user "${{ secrets.FTP_USERNAME }}:${{ secrets.FTP_PASSWORD }}" --ftp-create-dirs

0 comments on commit 35f6e2e

Please sign in to comment.