Skip to content

L-168 Combine releasing and autotagging (#5) #4

L-168 Combine releasing and autotagging (#5)

L-168 Combine releasing and autotagging (#5) #4

Workflow file for this run

name: Releases
on:
push:
branches: main
jobs:
release:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Check out source code
uses: actions/checkout@v3
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: 18.x
cache: npm
- name: Install dependencies
run: npm install
- name: Build ZIP archive
run: npm run build
- name: Tag new version
id: tagger
uses: phish108/[email protected]
with:
github-token: ${{ secrets.GITHUB_TOKEN}}
bump: minor
with-v: true
release-branch: main
- name: Create release on Github
uses: ncipollo/release-action@v1
with:
tag: ${{ steps.tagger.outputs.new-tag }}
artifacts: build/logtail-aws-lambda.zip