Skip to content

Commit

Permalink
Release on creating a tag via ncipollo/release-action@v1
Browse files Browse the repository at this point in the history
  • Loading branch information
PetrHeinz committed Oct 4, 2023
1 parent 7766570 commit 8fd83d1
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/build.yml → .github/workflows/releases.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
name: Build new version
name: Releases

on:
push:
workflow_dispatch:
tags:
- '*'

jobs:
build:
runs-on: ubuntu-latest

permissions:
contents: write
steps:
- name: Check out source code
uses: actions/checkout@v3
Expand All @@ -24,8 +26,6 @@ jobs:
- name: Build ZIP archive
run: npm run build

- name: Upload artifacts
uses: actions/upload-artifact@v3
- uses: ncipollo/release-action@v1
with:
name: logtail-aws-lambda
path: build/logtail-aws-lambda.zip
artifacts: build/logtail-aws-lambda.zip

0 comments on commit 8fd83d1

Please sign in to comment.