mirror of
https://github.com/loot/libloot.git
synced 2026-07-27 14:16:01 -07:00
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:
@@ -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: |
|
||||
|
||||
Reference in New Issue
Block a user