Skip to content

Commit

Permalink
Add JasonEtco/build-and-tag-action
Browse files Browse the repository at this point in the history
  • Loading branch information
mheap committed Nov 20, 2020
1 parent 9f1c35c commit 1e779e5
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 2 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Publish

on:
release:
types: [published, edited]

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
ref: ${{ github.event.release.tag_name }}
- uses: JasonEtco/build-and-tag-action@v1
env:
GITHUB_TOKEN: ${{ github.token }}
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
{
"name": "release-to-noticeable-action",
"private": true,
"main": "index.js",
"main": "dist/index.js",
"scripts": {
"start": "node ./index.js",
"test": "jest"
"test": "jest",
"build": "npx @vercel/ncc build && npx convert-action"
},
"dependencies": {
"actions-toolkit": "^6.0.1",
Expand Down

0 comments on commit 1e779e5

Please sign in to comment.