diff options
author | Sven-Hendrik Haase <svenstaro@gmail.com> | 2021-08-29 15:15:03 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-29 15:15:03 +0000 |
commit | c0a194b39759e6f1de6ae6809cc5ca8b08a9e8f8 (patch) | |
tree | be8a87e8a9d673870bb456ee36e829a800be5fd0 | |
parent | Run CI on pull_request as well (diff) | |
parent | Limit CI jobs runtime to 30 minutes (diff) | |
download | miniserve-c0a194b39759e6f1de6ae6809cc5ca8b08a9e8f8.tar.gz miniserve-c0a194b39759e6f1de6ae6809cc5ca8b08a9e8f8.zip |
Merge pull request #585 from svenstaro/upload-artifact
Upload artifacts when building release binaries
-rw-r--r-- | .github/workflows/build-release-binaries.yml | 7 | ||||
-rw-r--r-- | .github/workflows/ci.yml | 1 |
2 files changed, 8 insertions, 0 deletions
diff --git a/.github/workflows/build-release-binaries.yml b/.github/workflows/build-release-binaries.yml index efe69e9..1c0440c 100644 --- a/.github/workflows/build-release-binaries.yml +++ b/.github/workflows/build-release-binaries.yml @@ -6,6 +6,7 @@ jobs: binaries: name: ${{ matrix.os }} for ${{ matrix.target }} runs-on: ${{ matrix.os }} + timeout-minutes: 30 strategy: matrix: target: @@ -144,6 +145,12 @@ jobs: strip: ${{ matrix.strip }} if: ${{ matrix.compress }} + - name: Upload artifact + uses: actions/upload-artifact@v2 + with: + name: ${{ matrix.target }} + path: ${{ matrix.artifact_name }} + ### # Below this line, steps will only be ran if a tag was pushed. ### diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0f39ae6..457b331 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -6,6 +6,7 @@ jobs: ci: name: ${{ matrix.rust }} on ${{ matrix.os }} runs-on: ${{ matrix.os }} + timeout-minutes: 30 strategy: matrix: os: [ubuntu-latest, windows-latest, macos-latest] |