mirror of
https://github.com/w2c/letsencrypt-esxi.git
synced 2026-01-13 14:21:29 -06:00
Github Action: Ignore offline bundle from now on
This commit is contained in:
98
.github/workflows/ci.yml
vendored
98
.github/workflows/ci.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user