Skip to content

Merge pull request #50 from humio/py3.12 #8

Merge pull request #50 from humio/py3.12

Merge pull request #50 from humio/py3.12 #8

Workflow file for this run

name: "Release New Version"
on:
push:
tags:
- 'v*.*.*'
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set env
run: echo RELEASE_VERSION=${GITHUB_REF#refs/*/} >> $GITHUB_ENV && echo $RELEASE_VERSION
- name: "Install Dependencies"
run: sudo apt-get install zip
- name: "Create ZIP"
run: make build
- name: Create Release
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: target/${{ env.RELEASE_VERSION }}_cloudwatch2humio.zip
asset_name: ${{ env.RELEASE_VERSION }}_cloudwatch2humio.zip
tag: ${{ env.RELEASE_VERSION }}
overwrite: true
body: "Automatic release. See changelog for updates"