Skip to content

v1.4.0-beta.2

v1.4.0-beta.2 #26

Workflow file for this run

name: release
run-name: "${{ inputs.version }}"
on:
workflow_dispatch:
inputs:
version:
description: Specify version
required: true
jobs:
main:
if: github.ref == 'refs/heads/master'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Build.
run: |
sudo apt-get update -qq
sudo apt-get install -qq $(sed -f scripts/remove-comments.sed -e 's/[^ ]*://g' depends)
sudo ./build.sh
- uses: actions/github-script@v6
with:
script: |
const script = require("./.github/scripts/release.cjs");
const version = process.env.VERSION;
await script({ version, github, context, glob });
env:
VERSION: "${{ github.event.inputs.version }}"