Fix repository name for 4D-AIKit checkout in build.yml #199
Workflow file for this run
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 | |
| on: | |
| push: | |
| pull_request: | |
| env: | |
| DEPENDENCIES_BRANCH: main | |
| jobs: | |
| build: | |
| name: "Build on ${{ matrix.os }}" | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: [ macOS,Windows ] | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| lfs: true | |
| - name: Check out 4D-SVG | |
| uses: actions/checkout@v4 | |
| with: | |
| repository: 4d/4D-SVG | |
| path: Components/4D-SVG.4dbase | |
| ref : ${{ env.DEPENDENCIES_BRANCH }} | |
| fetch-depth: 0 | |
| lfs: true | |
| - name: Check out 4D-AIKit | |
| uses: actions/checkout@v4 | |
| with: | |
| repository: 4d/4D-AIKIT | |
| path: Components/4D-AIKit.4dbase | |
| ref : ${{ env.DEPENDENCIES_BRANCH }} | |
| fetch-depth: 0 | |
| lfs: true | |
| - name: Build | |
| uses: 4d/build4d-action@main | |
| with: | |
| product-line: vcs | |
| version: vcs | |
| build: official | |
| token: ${{ secrets.DLTK }} | |
| sync: | |
| needs: ["build"] | |
| runs-on: [self-hosted, macOS, ARM64] | |
| name: Git Repo Sync | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| lfs: true | |
| - name: Get Internal Sync action | |
| uses: actions/checkout@v4 | |
| with: | |
| repository: 4d/gitlabsync-action | |
| ref: main | |
| path: .github/workflows/external/sync | |
| token: ${{ secrets.CI_GIT_SYNC }} | |
| - id: Sync | |
| name: Sync | |
| uses: ./.github/workflows/external/sync/ | |
| with: | |
| target-url: ${{ secrets.TARGET_URL }} | |
| target-username: ${{ secrets.TARGET_USERNAME }} | |
| target-token: ${{ secrets.TARGET_TOKEN }} |