From d88d17cacef0dc6e3aa7e5e048e13665fa526605 Mon Sep 17 00:00:00 2001 From: Sven-Hendrik Haase Date: Sun, 29 Aug 2021 05:52:30 +0200 Subject: Upload artifacts when building release binaries We always do this unconditionally so that we can even check out artifacts from PRs. --- .github/workflows/build-release-binaries.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/build-release-binaries.yml b/.github/workflows/build-release-binaries.yml index efe69e9..efed1c1 100644 --- a/.github/workflows/build-release-binaries.yml +++ b/.github/workflows/build-release-binaries.yml @@ -144,6 +144,11 @@ jobs: strip: ${{ matrix.strip }} if: ${{ matrix.compress }} + - name: Upload artifact + uses: actions/upload-artifact@v2 + with: + path: ${{ matrix.artifact_name }} + ### # Below this line, steps will only be ran if a tag was pushed. ### -- cgit v1.2.3 From 33181bf42719276b754fcd7fb5a800d379180ad0 Mon Sep 17 00:00:00 2001 From: Sven-Hendrik Haase Date: Sun, 29 Aug 2021 06:18:44 +0200 Subject: Give artifacts unique name --- .github/workflows/build-release-binaries.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/build-release-binaries.yml b/.github/workflows/build-release-binaries.yml index efed1c1..c685871 100644 --- a/.github/workflows/build-release-binaries.yml +++ b/.github/workflows/build-release-binaries.yml @@ -147,6 +147,7 @@ jobs: - name: Upload artifact uses: actions/upload-artifact@v2 with: + name: ${{ matrix.target }} path: ${{ matrix.artifact_name }} ### -- cgit v1.2.3 From a500be604d8213553f2d3efe9b1969988cb6e402 Mon Sep 17 00:00:00 2001 From: Sven-Hendrik Haase Date: Sun, 29 Aug 2021 06:30:44 +0200 Subject: Limit CI jobs runtime to 30 minutes --- .github/workflows/build-release-binaries.yml | 1 + .github/workflows/ci.yml | 1 + 2 files changed, 2 insertions(+) diff --git a/.github/workflows/build-release-binaries.yml b/.github/workflows/build-release-binaries.yml index c685871..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: 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] -- cgit v1.2.3