mirror of
https://github.com/Noratrieb/actions-playground.git
synced 2026-01-14 17:05:05 +01:00
37 lines
730 B
YAML
37 lines
730 B
YAML
# This is a basic workflow to help you get started with Actions
|
|
|
|
name: testing out
|
|
|
|
on:
|
|
push:
|
|
branches: [ main ]
|
|
|
|
jobs:
|
|
install-build:
|
|
outputs:
|
|
foo-service: 'false'
|
|
bar-service: 'true'
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: install
|
|
id: fun
|
|
run: |
|
|
echo pnpm install
|
|
|
|
foo-service:
|
|
needs: [install-build]
|
|
runs-on: ubuntu-latest
|
|
if: ${{ needs.install-build.outputs.foo-service }}
|
|
steps:
|
|
- name: Build
|
|
run: |
|
|
echo "building..."
|
|
|
|
bar-service:
|
|
needs: [install-build]
|
|
runs-on: ubuntu-latest
|
|
if: ${{ needs.install-build.outputs.bar-service }}
|
|
steps:
|
|
- name: Build
|
|
run: |
|
|
echo "building ..."
|