Skip to content

Commit

Permalink
Add .github/workflows/release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
totten authored and mattwire committed Apr 24, 2023
1 parent 2ac43d0 commit dbca7ac
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
on:
push:
# Sequence of patterns matched against refs/tags
tags:
- 'v*' # Push events to matching v*, i.e. v1.0, v20.15.10

name: Release

jobs:
build:
name: Make tarball
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 8
cache: 'npm'
- run: npm install
- run: npm run build
- run: npm run tarball
- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files: mosaico-dist.tar.gz

0 comments on commit dbca7ac

Please sign in to comment.