.
This commit is contained in:
@@ -10,7 +10,7 @@ on:
|
|||||||
- "cars/**" # Only run if archives in cars/ change
|
- "cars/**" # Only run if archives in cars/ change
|
||||||
|
|
||||||
env:
|
env:
|
||||||
GIT_DEFAULT_HASH: sha256
|
GIT_DEFAULT_HASH: sha1
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
prepare-server-content:
|
prepare-server-content:
|
||||||
@@ -20,9 +20,9 @@ jobs:
|
|||||||
- name: Pre-initialize Repository with SHA-256
|
- name: Pre-initialize Repository with SHA-256
|
||||||
run: |
|
run: |
|
||||||
mkdir -p ${{ github.workspace }}
|
mkdir -p ${{ github.workspace }}
|
||||||
git init --object-format=sha256 ${{ github.workspace }}
|
git init --object-format=sha1 ${{ github.workspace }}
|
||||||
|
|
||||||
- name: Manual Checkout (SHA-256 Force)
|
- name: Manual Checkout (SHA-1 Force)
|
||||||
env:
|
env:
|
||||||
# This token is automatically provided by Gitea/GitHub Actions
|
# This token is automatically provided by Gitea/GitHub Actions
|
||||||
TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
@@ -31,8 +31,8 @@ jobs:
|
|||||||
# 1. Clean workspace explicitly to be safe
|
# 1. Clean workspace explicitly to be safe
|
||||||
rm -rf ./* ./.git
|
rm -rf ./* ./.git
|
||||||
|
|
||||||
# 2. Initialize specifically with SHA-256
|
# 2. Initialize specifically with SHA-1
|
||||||
git init --object-format=sha256
|
git init --object-format=sha1
|
||||||
|
|
||||||
# 3. Add remote with authentication embedded
|
# 3. Add remote with authentication embedded
|
||||||
# Use the environment variable to keep the log clean
|
# Use the environment variable to keep the log clean
|
||||||
|
|||||||
Reference in New Issue
Block a user