updated package version for @rvmack and @sfuhrm contributions #13
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: build-release | |
on: | |
push: | |
tags: | |
- 'v*' | |
- '!v*[a-z]' | |
jobs: | |
build-release: | |
name: Build Release Package | |
runs-on: ubuntu-latest | |
container: | |
image: checkmk/check-mk-raw:2.2.0-latest | |
permissions: | |
contents: write | |
env: | |
OMD_ROOT: /omd/sites/cmk | |
OMD_SITE: cmk | |
CMK_SITE_ID: cmk | |
WORKSPACE: ${{ github.workspace }} | |
steps: | |
- name: Initialize Checkmk Site | |
run: /docker-entrypoint.sh /bin/true | |
- uses: actions/checkout@v3 | |
- name: Setup links | |
run: .devcontainer/symlink.sh | |
- name: Update GITHUB_PATH | |
run: echo "/omd/sites/cmk/bin" >> $GITHUB_PATH | |
- name: Build Extension | |
run: .devcontainer/build.sh | |
id: cmkpkg | |
- name: Create Release | |
uses: softprops/action-gh-release@v2 | |
with: | |
draft: false | |
prerelease: false | |
files: ${{ steps.cmkpkg.outputs.pkgfile }} |