From 2d61de777bf4437f7434fb31cf6d305ba9341393 Mon Sep 17 00:00:00 2001 From: "Zaiming (Stone) Shi" Date: Wed, 15 Jun 2022 14:30:05 +0200 Subject: [PATCH] ci: upload artifacts for all builds (not just tags) --- .github/workflows/build_packages.yaml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build_packages.yaml b/.github/workflows/build_packages.yaml index 4a40e8338..5989d17c3 100644 --- a/.github/workflows/build_packages.yaml +++ b/.github/workflows/build_packages.yaml @@ -110,7 +110,6 @@ jobs: ./_build/${{ matrix.profile }}/rel/emqx/bin/emqx uninstall echo "EMQX uninstalled" - uses: actions/upload-artifact@v1 - if: startsWith(github.ref, 'refs/tags/') with: name: ${{ matrix.profile }}-windows path: source/_packages/${{ matrix.profile }}/. @@ -198,7 +197,6 @@ jobs: ./emqx/bin/emqx stop rm -rf emqx - uses: actions/upload-artifact@v1 - if: startsWith(github.ref, 'refs/tags/') with: name: ${{ matrix.profile }}-${{ matrix.otp }} path: source/_packages/${{ matrix.profile }}/. @@ -331,7 +329,6 @@ jobs: --builder "ghcr.io/emqx/emqx-builder/5.0-16:${ELIXIR}-${OTP}-${SYSTEM}" done - uses: actions/upload-artifact@v1 - if: startsWith(github.ref, 'refs/tags/') with: name: ${{ matrix.profile }}-${{ matrix.otp }} path: source/_packages/${{ matrix.profile }}/. @@ -597,7 +594,7 @@ jobs: IsPushLatest=${{ github.event_name == 'release' && !github.event.release.prerelease }}; scripts/docker-create-push-manifests.sh "${{ steps.meta.outputs.tags }}" "$IsPushLatest" - upload: + publish_artifacts: runs-on: ubuntu-20.04 if: startsWith(github.ref, 'refs/tags/') @@ -634,7 +631,7 @@ jobs: aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} aws-region: ${{ secrets.AWS_DEFAULT_REGION }} - - name: upload aws s3 + - name: upload to aws s3 env: PROFILE: ${{ matrix.profile }} run: |