Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: testing workflows #19

Merged
merged 11 commits into from
May 22, 2024
31 changes: 31 additions & 0 deletions .github/workflows/workflow1.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: build
on:
workflow_dispatch:
merge_group:
pull_request:
types: [ opened, synchronize, edited ]
workflow_call:

jobs:
checks:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: '16.x'
- name: run hello world
run: echo "hello world"

call_wf:
runs-on: ubuntu-latest
needs: [checks]
steps:
- uses: actions/checkout@v4
- name: check current folder
run: pwd && ls -la
- name: check workflows availables
run: ls -la ./.github/workflows/
- name: Upload APK staging compat
uses: ./.github/workflows/workflow2.yaml
15 changes: 15 additions & 0 deletions .github/workflows/workflow2.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: upload
on:
workflow_call:

jobs:
upload:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: '16.x'
- name: run hello world
run: echo "hello world from workflow 2"
Loading