From 6469b471854272b313ce67d2e578faaea0448732 Mon Sep 17 00:00:00 2001 From: Johannes Feichtner Date: Sun, 4 Dec 2022 00:50:03 +0100 Subject: [PATCH] Github Action: Ignore offline bundle from now on --- .github/workflows/ci.yml | 98 ++++++++++++++++++++-------------------- 1 file changed, 48 insertions(+), 50 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5bd501e..1c0d08c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,50 +1,48 @@ -name: w2c-letsencrypt-esxi - -on: - push: - tags: - - '[0-9]+.[0-9]+.[0-9]+' - - workflow_dispatch: - -jobs: - build: - name: Build - runs-on: ubuntu-latest - steps: - - name: Checkout repository - uses: actions/checkout@v2 - - - name: Create VIB and offline bundle - run: /bin/bash ./build/build.sh - - - name: Store VIB and offline bundle - uses: actions/upload-artifact@v2 - with: - name: w2c-letsencrypt-esxi - path: | - artifacts/w2c-letsencrypt-esxi.vib - artifacts/w2c-letsencrypt-esxi-offline-bundle.zip - if-no-files-found: error - - release: - name: Release - if: startsWith(github.ref, 'refs/tags/') - needs: build - runs-on: ubuntu-latest - steps: - - name: Retrieve build artifacts - uses: actions/download-artifact@v2 - with: - name: w2c-letsencrypt-esxi - - - name: Create release - id: create_release - uses: softprops/action-gh-release@v1 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - with: - body: w2c-letsencrypt-esxi - files: | - w2c-letsencrypt-esxi.vib - w2c-letsencrypt-esxi-offline-bundle.zip +name: w2c-letsencrypt-esxi + +on: + push: + tags: + - '[0-9]+.[0-9]+.[0-9]+' + + workflow_dispatch: + +jobs: + build: + name: Build + runs-on: ubuntu-latest + steps: + - name: Checkout repository + uses: actions/checkout@v2 + + - name: Create VIB + run: /bin/bash ./build/build.sh + + - name: Store VIB + uses: actions/upload-artifact@v2 + with: + name: w2c-letsencrypt-esxi + path: | + artifacts/w2c-letsencrypt-esxi.vib + if-no-files-found: error + + release: + name: Release + if: startsWith(github.ref, 'refs/tags/') + needs: build + runs-on: ubuntu-latest + steps: + - name: Retrieve build artifacts + uses: actions/download-artifact@v2 + with: + name: w2c-letsencrypt-esxi + + - name: Create release + id: create_release + uses: softprops/action-gh-release@v1 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + body: w2c-letsencrypt-esxi + files: | + w2c-letsencrypt-esxi.vib