diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml index bdcd5b3d2b..f80813ac49 100644 --- a/.gitea/workflows/build.yml +++ b/.gitea/workflows/build.yml @@ -25,10 +25,14 @@ jobs: steps: - name: Checkout repository - uses: https://github.com/actions/checkout@v4 - with: - submodules: recursive - fetch-depth: 0 + shell: bash + run: | + git config --global --add safe.directory "$GITHUB_WORKSPACE" + git init + git remote add origin "$GITHUB_SERVER_URL/$GITHUB_REPOSITORY.git" + git fetch origin --depth=1 "$GITHUB_SHA" + git checkout FETCH_HEAD + git submodule update --init --recursive - name: Install pixi if needed shell: bash diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index 0823836408..50bf301727 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -30,11 +30,15 @@ jobs: steps: - name: Checkout repository - uses: https://github.com/actions/checkout@v4 - with: - submodules: recursive - fetch-depth: 0 - fetch-tags: true + shell: bash + run: | + git config --global --add safe.directory "$GITHUB_WORKSPACE" + git init + git remote add origin "$GITHUB_SERVER_URL/$GITHUB_REPOSITORY.git" + git fetch origin --tags + git fetch origin --depth=1 "$GITHUB_SHA" + git checkout FETCH_HEAD + git submodule update --init --recursive - name: Install pixi if needed shell: bash @@ -65,12 +69,9 @@ jobs: - name: Show ccache statistics run: pixi run ccache -s - - name: Upload AppImage artifact - uses: https://github.com/actions/upload-artifact@v4 - with: - name: kindred-create-linux-x86_64-${{ env.BUILD_TAG }} - path: | - package/rattler-build/linux/*.AppImage - package/rattler-build/linux/*.AppImage.zsync - package/rattler-build/linux/*-SHA256.txt - if-no-files-found: warn + - name: List built artifacts + shell: bash + run: | + echo "Built artifacts:" + ls -lah package/rattler-build/linux/*.AppImage* 2>/dev/null || echo "No AppImage files found" + ls -lah package/rattler-build/linux/*-SHA256.txt 2>/dev/null || echo "No SHA256 files found"