-
-
Notifications
You must be signed in to change notification settings - Fork 30
40 lines (36 loc) · 1.01 KB
/
pre-release-plugin.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
name: Pre Release Browser Extension
on:
workflow_dispatch:
inputs:
version:
description: "Version Number"
required: true
default: "pre-release:latest"
jobs:
pre-release:
name: "Pre Release Extension"
runs-on: "ubuntu-latest"
environment:
name: development
url: "https://github.com/tattle-made/OGBV/releases"
steps:
- name: "Checkout Development Branch"
uses: actions/checkout@v2
with:
ref: main
- name: "Build and Test"
run: |
cd browser-extension/plugin
ls
pwd
npm install
npm run build
zip extension.zip ./dist/ -r
- uses: "marvinpinto/action-automatic-releases@latest"
with:
repo_token: "${{ secrets.GH_RELEASE_TOKEN }}"
automatic_release_tag: "latest"
prerelease: true
title: "Development Build : ${{ github.event.inputs.version }}"
files: |
browser-extension/plugin/extension.zip