mirror of
https://github.com/w2c/letsencrypt-esxi.git
synced 2026-01-15 22:58:32 -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
|
name: w2c-letsencrypt-esxi
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
tags:
|
tags:
|
||||||
- '[0-9]+.[0-9]+.[0-9]+'
|
- '[0-9]+.[0-9]+.[0-9]+'
|
||||||
|
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
name: Build
|
name: Build
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
|
|
||||||
- name: Create VIB and offline bundle
|
- name: Create VIB
|
||||||
run: /bin/bash ./build/build.sh
|
run: /bin/bash ./build/build.sh
|
||||||
|
|
||||||
- name: Store VIB and offline bundle
|
- name: Store VIB
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
name: w2c-letsencrypt-esxi
|
name: w2c-letsencrypt-esxi
|
||||||
path: |
|
path: |
|
||||||
artifacts/w2c-letsencrypt-esxi.vib
|
artifacts/w2c-letsencrypt-esxi.vib
|
||||||
artifacts/w2c-letsencrypt-esxi-offline-bundle.zip
|
if-no-files-found: error
|
||||||
if-no-files-found: error
|
|
||||||
|
release:
|
||||||
release:
|
name: Release
|
||||||
name: Release
|
if: startsWith(github.ref, 'refs/tags/')
|
||||||
if: startsWith(github.ref, 'refs/tags/')
|
needs: build
|
||||||
needs: build
|
runs-on: ubuntu-latest
|
||||||
runs-on: ubuntu-latest
|
steps:
|
||||||
steps:
|
- name: Retrieve build artifacts
|
||||||
- name: Retrieve build artifacts
|
uses: actions/download-artifact@v2
|
||||||
uses: actions/download-artifact@v2
|
with:
|
||||||
with:
|
name: w2c-letsencrypt-esxi
|
||||||
name: w2c-letsencrypt-esxi
|
|
||||||
|
- name: Create release
|
||||||
- name: Create release
|
id: create_release
|
||||||
id: create_release
|
uses: softprops/action-gh-release@v1
|
||||||
uses: softprops/action-gh-release@v1
|
env:
|
||||||
env:
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
with:
|
||||||
with:
|
body: w2c-letsencrypt-esxi
|
||||||
body: w2c-letsencrypt-esxi
|
files: |
|
||||||
files: |
|
w2c-letsencrypt-esxi.vib
|
||||||
w2c-letsencrypt-esxi.vib
|
|
||||||
w2c-letsencrypt-esxi-offline-bundle.zip
|
|
||||||
|
|||||||
Reference in New Issue
Block a user