Skip to content

0.6.2

0.6.2 #17

Workflow file for this run

name: Build and Deploy
on:
push:
tags:
- 'v[0-9]+.[0-9]+.[0-9]+'
# Allow running manually from the actions tab
workflow_dispatch:
concurrency:
group: "release"
cancel-in-progress: true
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
with:
lfs: true
- name: Build
run: |
node --version
npm --version
npm i
npm run build
- name: Archive Release
run: |
pushd dist/plutonium-addon-automation
zip -r ../../plutonium-addon-automation.zip .
popd
- name: Upload Release
run: |
hub release create -a plutonium-addon-automation.zip -a dist/plutonium-addon-automation/module.json -m "${{ github.ref_name }}"$'\n\n'"Version ${{ github.ref_name }}" ${{ github.ref_name }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}