diff options
author | Martin Matuska <martin@matuska.org> | 2020-02-08 23:02:53 +0100 |
---|---|---|
committer | Martin Matuska <martin@matuska.org> | 2020-02-09 00:24:39 +0100 |
commit | 0a09733d067d6790be87628c41ce1f97bbd01f1a (patch) | |
tree | 38c501743f57e215ee6d53b8f5526d5dbce2308b /.github | |
parent | f0b8157f9611ccdcdd236902b48c58bb2db44a95 (diff) | |
download | libarchive-0a09733d067d6790be87628c41ce1f97bbd01f1a.tar.gz |
CI: generate and publish build artifacts on GitHub actions
Fixes #1313
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/ci.yml | 26 |
1 files changed, 25 insertions, 1 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 510cb9c2..2ffa2824 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -33,6 +33,14 @@ jobs: run: ./build/ci/build.sh -a install env: BS: ${{ matrix.bs }} + - name: Artifact + run: ./build/ci/build.sh -a artifact + env: + BS: ${{ matrix.bs }} + - uses: actions/upload-artifact@v1 + with: + name: libarchive-macos-${{ matrix.bs }}-${{ github.sha }} + path: libarchive.tar.xz Ubuntu: runs-on: ubuntu-latest @@ -66,7 +74,14 @@ jobs: run: ./build/ci/build.sh -a install env: BS: ${{ matrix.bs }} - + - name: Artifact + run: ./build/ci/build.sh -a artifact + env: + BS: ${{ matrix.bs }} + - uses: actions/upload-artifact@v1 + with: + name: libarchive-ubuntu-${{ matrix.bs }}-${{ matrix.crypto }}-${{ github.sha }} + path: libarchive.tar.xz Ubuntu-distcheck: runs-on: ubuntu-latest steps: @@ -114,3 +129,12 @@ jobs: shell: cmd env: BE: ${{ matrix.be }} + - name: Artifact + run: ./build/ci/github_actions/ci.cmd artifact + shell: cmd + env: + BE: ${{ matrix.be }} + - uses: actions/upload-artifact@v1 + with: + name: libarchive-windows-${{ matrix.be }}-${{ github.sha }} + path: libarchive.zip |