From 854e222f6d8cd8d9bf40549c9f59072e43d5ea8e Mon Sep 17 00:00:00 2001 From: Josh Stevens Date: Tue, 2 Jul 2024 02:17:46 +0100 Subject: [PATCH] github action: closer --- .github/workflows/release-build.yml | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release-build.yml b/.github/workflows/release-build.yml index 03a6ad72..f2da9280 100644 --- a/.github/workflows/release-build.yml +++ b/.github/workflows/release-build.yml @@ -123,15 +123,25 @@ jobs: 7z a -tzip "$VERSION_DIR/${PLATFORM_NAME}_${ARCH}.zip" "$BINARY_NAME" cp "$BINARY_NAME" "$VERSION_DIR/" echo "file_name=rindexer_${PLATFORM_NAME}_${ARCH}.zip" >> $GITHUB_OUTPUT - fi + + - name: Upload artifact + uses: actions/upload-artifact@v2 + with: + name: ${{ matrix.platform }}-${{ matrix.arch }} + path: ${{ github.workspace }}/documentation/docs/public/releases finalize: name: Commit and push changes runs-on: ubuntu-latest needs: build - if: github.actor != 'github-actions[bot]' steps: - uses: actions/checkout@v2 + + - name: Download artifacts + uses: actions/download-artifact@v2 + with: + path: ${{ github.workspace }}/documentation/docs/public/releases + - name: Commit and push changes env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}