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.
This commit is contained in:
Oliver Hamlet
2021-02-21 10:33:42 +00:00
committed by Oliver Hamlet
parent c74c16b159
commit 8f00236273
+14
View File
@@ -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: |