From 6d521a64eba027e75a8a4964bd21ae54833bcdfb Mon Sep 17 00:00:00 2001 From: JuanLeon Lahoz Date: Mon, 17 May 2021 12:37:41 +0200 Subject: [PATCH] dev: update workflows/pipelines --- .github/workflows/coverage.yml | 3 ++- .github/workflows/release.yml | 4 ++-- .github/workflows/test.yml | 1 - 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index 77d0da0..1fa88a4 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -23,7 +23,8 @@ jobs: token: ${{secrets.CODECOV_TOKEN}} - name: Archive code coverage results - uses: actions/upload-artifact@v1 + uses: actions/upload-artifact@v2 with: name: code-coverage-report path: cobertura.xml + if-no-files-found: error diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b892573..69257c3 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -72,7 +72,6 @@ jobs: strip "${BIN_PATH}" # Let subsequent steps know where to find the (stripped) bin echo ::set-output name=BIN_PATH::${BIN_PATH} - echo ::set-output name=BIN_NAME::${BIN_NAME} - name: Run tests uses: actions-rs/cargo@v1 @@ -104,10 +103,11 @@ jobs: echo ::set-output name=PKG_PATH::"${PKG_STAGING}/${PKG_NAME}" - name: "Artifact upload: tarball" - uses: actions/upload-artifact@master + uses: actions/upload-artifact@v2 with: name: ${{ steps.package.outputs.PKG_NAME }} path: ${{ steps.package.outputs.PKG_PATH }} + if-no-files-found: error - name: Publish archives and packages uses: softprops/action-gh-release@v1 diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index e01bedd..15164f4 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -7,7 +7,6 @@ env: jobs: build: - runs-on: ubuntu-latest steps: