diff --git a/.github/workflows/ci-cd.yml b/.github/workflows/ci-cd.yml index 9758c79c..20b80db3 100644 --- a/.github/workflows/ci-cd.yml +++ b/.github/workflows/ci-cd.yml @@ -11,6 +11,14 @@ on: name: build-test jobs: build-test: + name: Build and test ZOT + runs-on: ubuntu-latest + steps: + - name: Run build and test + timeout-minutes: 60 + run: | + echo "job deprecated" + build-test-arch: name: Build and test ZOT runs-on: ubuntu-latest strategy: @@ -30,10 +38,8 @@ jobs: uses: actions/setup-go@v2 with: go-version: 1.17.x - - name: Check out source code uses: actions/checkout@v1 - - name: Install dependencies run: | cd $GITHUB_WORKSPACE @@ -46,7 +52,6 @@ jobs: curl -Lo notation.tar.gz https://github.com/notaryproject/notation/releases/download/v0.7.1-alpha.1/notation_0.7.1-alpha.1_linux_amd64.tar.gz sudo tar xvzf notation.tar.gz -C /usr/bin notation go get github.com/wadey/gocovmerge - - name: Run build and test timeout-minutes: 60 run: | @@ -63,10 +68,8 @@ jobs: AWS_SECRET_ACCESS_KEY: fake OS: ${{ matrix.os }} ARCH: ${{ matrix.arch }} - - name: Upload code coverage uses: codecov/codecov-action@v1 - - if: github.event_name == 'release' && github.event.action == 'published' name: Publish artifacts on releases uses: svenstaro/upload-release-action@v2