Skip to content

Commit

Permalink
Git config stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
wz1000 committed Apr 25, 2024
1 parent ee3b860 commit e29784c
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,12 @@ jobs:
echo "ID=linux" >> /etc/os-release
echo "PRETTY_NAME=Linux" >> /etc/os-release
- name: git config
run: |
git config --global --get-all safe.directory | grep '^\*$' || git config --global --add safe.directory "*"
git config --global --add safe.directory $PWD
shell: bash

- name: Checkout code
run: |
git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY .
Expand Down Expand Up @@ -227,6 +233,7 @@ jobs:
- name: git config
run: |
git config --global --get-all safe.directory | grep '^\*$' || git config --global --add safe.directory "*"
git config --global --add safe.directory $PWD
shell: bash

- name: Checkout code
Expand Down Expand Up @@ -490,6 +497,12 @@ jobs:
echo "ID=linux" >> /etc/os-release
echo "PRETTY_NAME=Linux" >> /etc/os-release
- name: git config
run: |
git config --global --get-all safe.directory | grep '^\*$' || git config --global --add safe.directory "*"
git config --global --add safe.directory $PWD
shell: bash

- name: Checkout code
run: |
git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY .
Expand Down Expand Up @@ -544,6 +557,7 @@ jobs:
- name: git config
run: |
git config --global --get-all safe.directory | grep '^\*$' || git config --global --add safe.directory "*"
git config --global --add safe.directory $PWD
shell: bash

- name: Checkout code
Expand Down Expand Up @@ -793,6 +807,11 @@ jobs:
echo "ID=linux" >> /etc/os-release
echo "PRETTY_NAME=Linux" >> /etc/os-release
- name: git config
run: |
git config --global --get-all safe.directory | grep '^\*$' || git config --global --add safe.directory "*"
git config --global --add safe.directory $PWD
shell: bash
- name: Checkout code
run: |
git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY .
Expand Down Expand Up @@ -830,6 +849,7 @@ jobs:
- name: git config
run: |
git config --global --get-all safe.directory | grep '^\*$' || git config --global --add safe.directory "*"
git config --global --add safe.directory $PWD
shell: bash

- name: Checkout code
Expand Down

0 comments on commit e29784c

Please sign in to comment.