diff --git a/.forgejo/workflows/build-release.yaml b/.forgejo/workflows/build-release.yaml index 68fb3a7..ab2d224 100644 --- a/.forgejo/workflows/build-release.yaml +++ b/.forgejo/workflows/build-release.yaml @@ -70,4 +70,17 @@ jobs: make CC=musl-gcc CYTO_INC=${PREFIX}/include CYTO_LIB=${PREFIX}/lib 2> /dev/null || true musl-gcc -static -o "${PREFIX}/parsee.$(uname -m)" $(find build/ -name '*.o') -lm -lpthread -lssl -lCytoplasm -lssl -lcrypto -llmdb -flto -fdata-sections -ffunction-sections -s -Wl,-gc-sections -lCytoplasm ls $PREFIX - + - name: Create a final archive + run: | + cd parsee + mkdir bin + cp "${PREFIX}/parsee.$(uname -m)" bin + cp ../*.$(uname -m) bin + tar -czvf "$(uname)-$(uname -m).tgz" bin + cp "$(uname)-$(uname -m).tgz" .. + echo "PGZ=$(uname)-$(uname -m).tgz" >> $GITHUB_ENV + - name: Upload it all + uses: actions/upload-artifact@v4 + with: + name: ${{ env.PGZ }} + path: ${{ env.PGZ }}