Skip to content

Commit

Permalink
L-168 Build and upload ZIP archive as workflow artifact (#2)
Browse files Browse the repository at this point in the history
  • Loading branch information
PetrHeinz authored Oct 4, 2023
1 parent 64198fe commit e69de41
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/releases.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Releases

on:
push:
tags:
- '*'

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: Create release on Github
uses: ncipollo/release-action@v1
with:
artifacts: build/logtail-aws-lambda.zip

0 comments on commit e69de41

Please sign in to comment.