Skip to content

Commit

Permalink
feat: add pali pre-release (#606)
Browse files Browse the repository at this point in the history
  • Loading branch information
lucaslovato authored Aug 7, 2024
1 parent 7e4f8df commit 5c98fd3
Showing 1 changed file with 46 additions and 0 deletions.
46 changes: 46 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
name: Release

on:
push:
branches:
- pre-release
- master
- develop

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: '16'

- name: Install dependencies
run: yarn install

- name: Build project for Chrome
run: yarn run build:chrome

- name: Create a draft release
id: create_release
uses: actions/create-release@v1
with:
tag_name: ${{ github.sha }}
release_name: Release ${{ github.sha }} for ${{ github.ref }}
draft: true
prerelease: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Upload zip to release
uses: actions/upload-release-asset@v1
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./build/chrome.zip
asset_name: chrome.zip
asset_content_type: application/zip

0 comments on commit 5c98fd3

Please sign in to comment.