Fix directory not found in CI #5
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 on Linux | |
| on: | |
| push: | |
| branches: [ "master" ] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| env: | |
| CI_SCRIPT: "scripts/ci_linux.sh" | |
| APP_NAME: "zclipboard" | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Install dependencies | |
| shell: bash | |
| run: | | |
| chmod +x ${{ github.workspace }}/${{ env.CI_SCRIPT }} | |
| ./${{ env.CI_SCRIPT }} install-base | |
| - name: Create build directory | |
| shell: bash | |
| run: | | |
| ./scripts/ci_linux.sh mkdir-build | |
| - name: Build zClipboard | |
| shell: bash | |
| run: | | |
| cd scripts | |
| ./ci_linux.sh release-build | |
| - name: Upload Release | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: ${{ env.APP_NAME }} | |
| path: ${{ github.workspace }}/build |