diff --git a/.gitea/workflows/base-build.yml b/.gitea/workflows/base-build.yml index fc4172c..41ce33e 100644 --- a/.gitea/workflows/base-build.yml +++ b/.gitea/workflows/base-build.yml @@ -68,17 +68,11 @@ jobs: echo "Contents:" ls -R - - name: Clone upload repo - run: git clone "${{ env.REPO_URL }}" upload-repo - - - name: Copy sha256sums.txt to upload-repo - run: | - if [[ -f sha256sums.txt ]]; then - cp sha256sums.txt upload-repo/ - else - echo "[ERROR] sha256sums.txt not found" - exit 1 - fi + - name: Upload SHA256 checksums + uses: actions/upload-artifact@v3 + with: + name: sha256sums + path: sha256sums.txt push-archives-to-repo: needs: build-rootfs-archives @@ -92,6 +86,11 @@ jobs: - name: Clone upload repo run: git clone "${{ env.REPO_URL }}" upload-repo + - name: Download SHA256 checksums + uses: actions/download-artifact@v3 + with: + name: sha256sums + - name: Clean old archives in upload-repo run: rm -rf upload-repo/*/*.tar.bz2