Skip to content

Commit

Permalink
debugging git
Browse files Browse the repository at this point in the history
  • Loading branch information
sukoneck committed Nov 8, 2024
1 parent 45f8ff3 commit 0d20ff5
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -65,15 +65,8 @@ jobs:
runner: warp-ubuntu-latest-x64-16x

steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0

- uses: WarpBuilds/rust-cache@v2

- name: Prepare filename
run: echo "OUTPUT_FILENAME=rbuilder-${VERSION}-${{ matrix.configs.target }}" >> $GITHUB_ENV

- name: Install dependencies
run: |
apt-get update
Expand All @@ -88,6 +81,8 @@ jobs:
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
. $HOME/.cargo/env
- uses: actions/checkout@v4

- name: debug git
run: |
echo "Workspace: ${{ github.workspace }}"
Expand All @@ -97,13 +92,18 @@ jobs:
ls -lah
echo "\n.git directory contents:"
ls -lah .git || echo ".git not found"
echo "Git version:"
git --version
echo "Git status:"
git status
echo "Git branch:"
git branch
echo "Git rev-parse:"
git rev-parse --git-dir
git config --global --add safe.directory .
# git config --global --add safe.directory .
- name: Prepare filename
run: echo "OUTPUT_FILENAME=rbuilder-${VERSION}-${{ matrix.configs.target }}" >> $GITHUB_ENV

- name: Build binary
run: |
Expand Down

0 comments on commit 0d20ff5

Please sign in to comment.