trying to get the CI stuff right.
Signed-off-by: Cliff Hill <xlorep@darkhelm.org>
This commit is contained in:
@@ -13,7 +13,31 @@ jobs:
|
||||
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
run: |
|
||||
echo "=== Gitea Actions Checkout ==="
|
||||
echo "Repository: ${{ github.repository }}"
|
||||
echo "Ref: ${{ github.ref }}"
|
||||
echo "SHA: ${{ github.sha }}"
|
||||
echo "Workspace: ${{ github.workspace }}"
|
||||
|
||||
# In Gitea Actions, the code might already be available
|
||||
# Let's check what's in the workspace
|
||||
cd ${{ github.workspace }}
|
||||
pwd
|
||||
ls -la
|
||||
|
||||
# If the repository is not already checked out, try a simple git approach
|
||||
if [ ! -f "README.md" ]; then
|
||||
echo "Repository not found, attempting simple git clone..."
|
||||
git config --global http.sslverify false
|
||||
git clone ${{ github.server_url }}/${{ github.repository }}.git .
|
||||
git checkout ${{ github.sha }}
|
||||
else
|
||||
echo "Repository already available in workspace"
|
||||
fi
|
||||
|
||||
echo "Final repository state:"
|
||||
ls -la
|
||||
|
||||
- name: Install Python 3.13
|
||||
run: |
|
||||
@@ -92,7 +116,31 @@ jobs:
|
||||
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
run: |
|
||||
echo "=== Gitea Actions Checkout ==="
|
||||
echo "Repository: ${{ github.repository }}"
|
||||
echo "Ref: ${{ github.ref }}"
|
||||
echo "SHA: ${{ github.sha }}"
|
||||
echo "Workspace: ${{ github.workspace }}"
|
||||
|
||||
# In Gitea Actions, the code might already be available
|
||||
# Let's check what's in the workspace
|
||||
cd ${{ github.workspace }}
|
||||
pwd
|
||||
ls -la
|
||||
|
||||
# If the repository is not already checked out, try a simple git approach
|
||||
if [ ! -f "README.md" ]; then
|
||||
echo "Repository not found, attempting simple git clone..."
|
||||
git config --global http.sslverify false
|
||||
git clone ${{ github.server_url }}/${{ github.repository }}.git .
|
||||
git checkout ${{ github.sha }}
|
||||
else
|
||||
echo "Repository already available in workspace"
|
||||
fi
|
||||
|
||||
echo "Final repository state:"
|
||||
ls -la
|
||||
|
||||
- name: Install Node.js 24
|
||||
run: |
|
||||
|
||||
Reference in New Issue
Block a user