Fix folder not found in build Qt step #38
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Build zClipboard for macOS | |
| on: | |
| push: | |
| branches: [ "master" ] | |
| jobs: | |
| build: | |
| runs-on: macos-latest | |
| env: | |
| CI_SCRIPT: "scripts/ci_macos.sh" | |
| APP_NAME: "zclipboard" | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Install Homebrew | |
| shell: bash | |
| run: | | |
| chmod +x ${{ github.workspace }}/${{ env.CI_SCRIPT }} | |
| ./${{ env.CI_SCRIPT }} install-base | |
| - name: Install dependencies | |
| shell: bash | |
| run: | | |
| ./${{ env.CI_SCRIPT }} install-libs | |
| - name: Setup build entry | |
| shell: bash | |
| run: | | |
| ./${{ env.CI_SCRIPT }} setup-build | |
| - name: Build zClipboard | |
| shell: bash | |
| run: | | |
| ./${{ env.CI_SCRIPT }} build-release | |
| - name: Setup icon for zClipboard | |
| shell: bash | |
| run: | | |
| ./${{ env.CI_SCRIPT }} setup-icon | |
| - name: Create macOS app bundle | |
| shell: bash | |
| run: | | |
| ./${{ env.CI_SCRIPT }} create-bundle | |
| - name: Setup release | |
| shell: bash | |
| run: | | |
| ./${{ env.CI_SCRIPT }} setup-release | |
| - name: Upload Release | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: ${{ env.APP_NAME }}-macOS | |
| path: ${{ env.APP_NAME }}-macOS.tar.gz |