mirror of
https://github.com/alexgo-io/stacks.js.git
synced 2026-01-12 17:52:41 +08:00
ci: add version env
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
name: main
|
||||
name: publish-beta
|
||||
|
||||
on:
|
||||
push:
|
||||
@@ -14,13 +14,9 @@ jobs:
|
||||
uses: ./.github/workflows/pre-run.yml
|
||||
secrets: inherit
|
||||
|
||||
tests:
|
||||
needs: pre-run
|
||||
uses: ./.github/workflows/tests.yml
|
||||
|
||||
publish-beta:
|
||||
runs-on: ubuntu-latest
|
||||
needs: [pre-run, tests]
|
||||
needs: pre-run
|
||||
if: "needs.pre-run.outputs.is-not-fork == 'true' && !contains(github.event.head_commit.message, 'chore: version packages')"
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
10
.github/workflows/tests.yml
vendored
10
.github/workflows/tests.yml
vendored
@@ -1,5 +1,13 @@
|
||||
name: tests
|
||||
on: [workflow_call, workflow_dispatch]
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
tags-ignore:
|
||||
- "**"
|
||||
|
||||
workflow_call:
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
tests:
|
||||
|
||||
4
.github/workflows/version.yml
vendored
4
.github/workflows/version.yml
vendored
@@ -9,6 +9,10 @@ on:
|
||||
|
||||
workflow_dispatch:
|
||||
|
||||
env:
|
||||
COMMIT_USER: Hiro DevOps
|
||||
COMMIT_EMAIL: 45208873+blockstack-devops@users.noreply.github.com
|
||||
|
||||
jobs:
|
||||
pre-run:
|
||||
uses: ./.github/workflows/pre-run.yml
|
||||
|
||||
Reference in New Issue
Block a user