mirror of
https://github.com/Noratrieb/actions-playground.git
synced 2026-01-14 17:05:05 +01:00
45 lines
936 B
YAML
45 lines
936 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: install
|
|
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..." ${{ needs.install-build.outputs.foo-service }}
|
|
|
|
bar-service:
|
|
needs: [install-build]
|
|
runs-on: ubuntu-latest
|
|
if: "${{ needs.install-build.outputs.bar-service }}"
|
|
steps:
|
|
- name: Build
|
|
run: |
|
|
echo "building ..." ${{ needs.install-build.outputs.bar-service }}
|
|
|
|
does-string:
|
|
runs-on: ubuntu-18.04
|
|
if: "false"
|
|
steps:
|
|
- name: was
|
|
run: ""
|
|
|