Add auto releases to github actions.
This commit is contained in:
parent
0e8d37fd92
commit
e3fb1be8cf
14
.github/workflows/bundle.yml
vendored
14
.github/workflows/bundle.yml
vendored
|
@ -13,7 +13,6 @@ jobs:
|
||||||
- name: Checkout source files
|
- name: Checkout source files
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
|
|
||||||
|
|
||||||
- name: Install nodejs
|
- name: Install nodejs
|
||||||
run: curl -fsSL https://deb.nodesource.com/setup_15.x | sudo -E bash -; sudo apt-get install -y nodejs
|
run: curl -fsSL https://deb.nodesource.com/setup_15.x | sudo -E bash -; sudo apt-get install -y nodejs
|
||||||
|
|
||||||
|
@ -21,4 +20,15 @@ jobs:
|
||||||
run: npm install
|
run: npm install
|
||||||
|
|
||||||
- name: Build VaultUI
|
- name: Build VaultUI
|
||||||
run: npx webpack
|
run: npx webpack
|
||||||
|
|
||||||
|
- name: "Tar up the dist iles"
|
||||||
|
run: tar caf VaultUI.tar --transform="s/dist\///" dist/* LICENSE
|
||||||
|
|
||||||
|
- uses: "marvinpinto/action-automatic-releases@latest"
|
||||||
|
with:
|
||||||
|
repo_token: "${{ secrets.GITHUB_TOKEN }}"
|
||||||
|
automatic_release_tag: "latest"
|
||||||
|
prerelease: true
|
||||||
|
title: "Latest Build"
|
||||||
|
files: VaultUI.tar
|
Loading…
Reference in a new issue