Skip to content

Commit

Permalink
Fix nightly release workflow.
Browse files Browse the repository at this point in the history
  • Loading branch information
garg3133 committed Jun 29, 2023
1 parent 685b847 commit 0c14348
Showing 1 changed file with 18 additions and 4 deletions.
22 changes: 18 additions & 4 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,27 @@
name: Nightly

on: workflow_dispatch
on:
workflow_dispatch:
inputs:
version:
description: Nightly version number
required: false
type: string
default: ''
ref:
description: Branch, tag, or SHA to release
required: false
type: string
default: ''

jobs:
build:
nightly:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
ref: ${{ inputs.ref }}
- name: Setup Node
uses: actions/setup-node@v3
with:
Expand All @@ -21,6 +35,6 @@ jobs:
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
automatic_release_tag: "nightly"
title: "Nightly"
title: "Nightly ${{ inputs.version }}"
prerelease: true
files: '*.tgz'

0 comments on commit 0c14348

Please sign in to comment.