Skip to content

Commit

Permalink
Merge pull request #18 from coreymbe/MAINT-add_release_workflow
Browse files Browse the repository at this point in the history
(MAINT) Add release workflow
  • Loading branch information
actowery authored Aug 17, 2023
2 parents 843885b + 294fbf9 commit 69f8797
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Package Splunk App

on:
push:
tags:
- v[0-9]+.[0-9]+.[0-9]+

jobs:
package-app:
runs-on: ubuntu-latest
container: ghcr.io/coreymbe/splunk-appinspect:v2

steps:
- uses: actions/checkout@v2

- name: Set Version ID
id: version-tag
run: echo ::set-output name=version::${GITHUB_REF#refs/*/}

- name: Build and Package App
run: slim package TA-puppet-alert-orchestrator

- name: Upload App Build
uses: actions/upload-artifact@v3
with:
name: TA-puppet-alert-orchestrator-${{ steps.version-tag.outputs.version }}
path: TA-puppet-alert-orchestrator-*.tar.gz

0 comments on commit 69f8797

Please sign in to comment.