This repository has been archived by the owner on Jun 27, 2024. It is now read-only.
2.9.4-alpha.1 #19
Workflow file for this run
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
# This workflow for build | |
name: release | |
on: | |
push: | |
tags: | |
- 'v*' | |
workflow_dispatch: | |
jobs: | |
test: | |
runs-on: [self-hosted, linux, x64, aws-us] | |
steps: | |
- name: Checkout Code | |
uses: actions/checkout@v2 | |
- name: Setup Node.js v14 | |
uses: actions/setup-node@v2 | |
with: | |
node-version: 14 | |
- uses: olegtarasov/get-tag@v2.1 | |
id: tagName | |
with: | |
tagRegex: "(.*)" | |
- name: Create release branch | |
uses: peterjgrainger/action-create-branch@v2.0.1 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
branch: "release-${{steps.tagName.outputs.tag}}" | |
- name: Run build.sh Script | |
run: | | |
./scripts/build.sh | |
timeout-minutes: 35 |