Custom gallery added #18
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "pre-release" | |
on: | |
push: | |
branches: | |
- "main" | |
permissions: | |
contents: write | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Use Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '18.x' | |
- run: npm ci | |
- run: npm run build | |
- name: Update release information in manifest.json | |
run: echo "`jq '.version="pre"' dist/manifest.json`" > dist/manifest.json | |
- name: Create zip | |
run: cd dist && zip -r ../500NewTabs_pre.zip ./ | |
- name: prerelease | |
uses: softprops/action-gh-release@v1 | |
with: | |
automatic_release_tag: "latest" | |
prerelease: true | |
title: "Development Build" | |
tag_name: "pre" | |
files: | | |
500NewTabs_pre.zip |