initial commit
This commit is contained in:
21
.gitea/workflows/call.yaml
Normal file
21
.gitea/workflows/call.yaml
Normal file
@ -0,0 +1,21 @@
|
||||
name: call workflow
|
||||
|
||||
on:
|
||||
push:
|
||||
tags:
|
||||
- '*'
|
||||
|
||||
jobs:
|
||||
call-release:
|
||||
uses: ./.gitea/workflows/release.yaml
|
||||
|
||||
after-workflow:
|
||||
runs-on: ubuntu-latest
|
||||
needs:
|
||||
- call-release
|
||||
steps:
|
||||
- name: call workflow
|
||||
- name: run shell
|
||||
run: |-
|
||||
set -x
|
||||
echo "after call workflow"
|
16
.gitea/workflows/release.yaml
Normal file
16
.gitea/workflows/release.yaml
Normal file
@ -0,0 +1,16 @@
|
||||
name: try release
|
||||
|
||||
on:
|
||||
push:
|
||||
tags:
|
||||
- 'v*'
|
||||
workflow_call:
|
||||
|
||||
jobs:
|
||||
release:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: run shell
|
||||
run: |-
|
||||
set -x
|
||||
echo release
|
Reference in New Issue
Block a user