diff --git a/.gitea/workflows/source-release.yml b/.gitea/workflows/source-release.yml index ac0e076..042718c 100644 --- a/.gitea/workflows/source-release.yml +++ b/.gitea/workflows/source-release.yml @@ -13,6 +13,9 @@ jobs: steps: - name: Check out source uses: actions/checkout@v4 + with: + fetch-depth: 0 + submodules: recursive - name: Install build dependencies run: | @@ -22,7 +25,6 @@ jobs: make \ gcc \ g++ \ - git \ pkg-config \ libgdbm-dev \ libcrypt-dev @@ -32,3 +34,16 @@ jobs: - name: Build source package run: cmake --build build --target package_source + + - name: List generated files + run: | + find build -maxdepth 2 \( -name '*.tar.bz2' -o -name '*.tbz2' \) -print + + - name: Upload workflow artifact + uses: actions/upload-artifact@v4 + with: + name: mars-nwe-source-package + path: | + build/*.tar.bz2 + build/*.tbz2 + if-no-files-found: error \ No newline at end of file