Skip to content

Commit

Permalink
Add release action
Browse files Browse the repository at this point in the history
Update node-version in action

Hardcode node version

Remove old workflow file

Rename action file

Update tarball action dispatch event

Fix error in packageName action step

Configuration on actions

Ci:
  • Loading branch information
thassiov committed Jul 1, 2022
1 parent 98a45dc commit 961b146
Show file tree
Hide file tree
Showing 4 changed files with 3,714 additions and 50 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/tarball.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: RC Agenda releases

on:
push:
tags:
- v*.*

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 12.9.0
- run: npm ci
- run: npm run build --if-present
- run: npm pack
- name: Getting package name
id: packageName
run: echo ::set-output name=tarball::$(ls *.tgz)
- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files: ${{ steps.packageName.outputs.tarball }}


49 changes: 0 additions & 49 deletions .github/workflows/test.yml

This file was deleted.

Loading

0 comments on commit 961b146

Please sign in to comment.