diff --git a/.github/workflows/zig-test.yml b/.github/workflows/zig-test.yml index d3ed94c..e06e41f 100644 --- a/.github/workflows/zig-test.yml +++ b/.github/workflows/zig-test.yml @@ -30,25 +30,8 @@ jobs: - uses: actions/checkout@v3 with: fetch-depth: 0 - - # Configure git: - # * use ssh to clone repo instead of https - # * set up the git safe directory - - name: configure git - run: | - git config --global url.git@github.com:.insteadof https://github.com/ - git config --global --add safe.directory `pwd` - - name: configure ssh agent - run: | - mkdir ~/.ssh - echo "${{ vars.GH_KNOWN_HOSTS }}" > ~/.ssh/known_hosts - eval `ssh-agent -s` - echo "${{ secrets.SSH_DEPLOY_KEY }}" | ssh-add - - - - name: install git submodules - run: | - git submodule init - git submodule update + token: ${{ secrets.GH_CI_PAT }} + submodules: true - name: install v8 run: |