Skip to content

Commit

Permalink
workflows: Update workflow dependency
Browse files Browse the repository at this point in the history
The workaround is no longer necessary
  • Loading branch information
Riksu9000 committed Jan 7, 2023
1 parent bd8e6d8 commit 499f087
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,8 @@ jobs:
container:
image: infinitime/infinitime-build
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
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
submodules: recursive
- name: Build
Expand Down

0 comments on commit 499f087

Please sign in to comment.