workflows: Update workflow dependency

The workaround is no longer necessary
This commit is contained in:
Riku Isokoski 2023-01-07 18:14:05 +02:00
parent bd8e6d8c15
commit 499f0875d3

View File

@ -20,14 +20,8 @@ jobs:
container: container:
image: infinitime/infinitime-build image: infinitime/infinitime-build
steps: steps:
# This workaround fixes the error "unsafe repository (REPO is owned by someone else)".
# See https://github.com/actions/checkout/issues/760 and https://github.com/actions/checkout/issues/766
# The fix in "actions/checkout@v2" was not sufficient as the build process also uses git (to get the current
# commit hash, for example).
- name: Workaround permission issues
run: git config --global --add safe.directory "$GITHUB_WORKSPACE"
- name: Checkout source files - name: Checkout source files
uses: actions/checkout@v2 uses: actions/checkout@v3
with: with:
submodules: recursive submodules: recursive
- name: Build - name: Build