From 8f00236273b9fec6b1c411fc25549c601c03e915 Mon Sep 17 00:00:00 2001 From: Oliver Hamlet Date: Sat, 6 Feb 2021 09:49:18 +0000 Subject: [PATCH] Upload CI build artifacts to GitHub Actions Bintray will be shut down in May, so we need to find another artifact store before then. GitHub Actions is one option, and allows builds to store artifacts for up to 90 days, with apparently no storage size limit for public repositories. 90 days is good enough to temporarily host builds for loot/loot to use for integration testing before release. The downside is that you need to be logged into a GitHub account in order to download a build artifact uploaded to GitHub Actions. --- .github/workflows/ci.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7cefd7a4..27b538aa 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -97,6 +97,13 @@ jobs: VERSION="${{ steps.get-libloot-version.outputs.version }}" echo "::set-output name=filename::libloot-${VERSION}-Linux.tar.xz" + - name: Upload archive + uses: actions/upload-artifact@v2 + with: + name: ${{ steps.build-archive.outputs.filename }} + path: build/package/${{ steps.build-archive.outputs.filename }} + if: github.event_name == 'push' + - name: Upload archive to BinTray shell: bash run: | @@ -178,6 +185,13 @@ jobs: echo "::set-output name=filename::libloot-${VERSION}-${PLATFORM}.7z" + - name: Upload archive + uses: actions/upload-artifact@v2 + with: + name: ${{ steps.build-archive.outputs.filename }} + path: build/package/${{ steps.build-archive.outputs.filename }} + if: github.event_name == 'push' + - name: Upload archive to BinTray shell: bash run: |