diff --git a/.github/workflows/build-dev-gls.yml b/.github/workflows/build-dev-gls.yml index c6f3f99a..803792d8 100644 --- a/.github/workflows/build-dev-gls.yml +++ b/.github/workflows/build-dev-gls.yml @@ -14,12 +14,12 @@ jobs: steps: - name: "Checkout repo" - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: submodules: recursive fetch-depth: 0 - name: "Checkout gh-pages branch" - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: ref: gh-pages path: gh-pages diff --git a/.github/workflows/build-dev-schema.yml b/.github/workflows/build-dev-schema.yml index 6906fb07..0f7fc04c 100644 --- a/.github/workflows/build-dev-schema.yml +++ b/.github/workflows/build-dev-schema.yml @@ -14,12 +14,12 @@ jobs: steps: - name: "Checkout repo" - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: submodules: recursive fetch-depth: 0 - name: "Checkout gh-pages branch" - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: ref: gh-pages path: gh-pages diff --git a/.github/workflows/build-release.yml b/.github/workflows/build-release.yml index 5f2bbda2..1897dd70 100644 --- a/.github/workflows/build-release.yml +++ b/.github/workflows/build-release.yml @@ -16,19 +16,20 @@ jobs: run: | export RELEASE_VERSION=${GITHUB_REF#refs/*/} echo "RELEASE_VERSION=$RELEASE_VERSION" >> $GITHUB_ENV + sh -c "git config --global --add safe.directory $PWD" - name: "Checkout repo" - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: submodules: recursive fetch-depth: 0 - run: git checkout ${{ env.RELEASE_VERSION }} - name: "Checkout gh-pages branch" - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: ref: gh-pages path: gh-pages - name: "Checkout latest branch" - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 ref: latest diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 26bea8b2..1b020d23 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -16,7 +16,7 @@ jobs: - name: "Checkout repo" uses: actions/checkout@v2 - name: "Checkout gh-pages branch" - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: ref: gh-pages path: gh-pages