Skip to content

Workflow file for this run

name: Config ReaderWriter
on: push
defaults:
run:
shell: bash
jobs:
init:
name: Init
runs-on: ubuntu-latest
outputs:
artifactId: ${{ steps.create.outputs.artifactId }}
steps:
- name: init
run: echo 'starting ${{ github.job }}'
- name: checkout
uses: actions/checkout@v4
- name: stash action dir
uses: actions/upload-artifact@v4
with:
name: actions
path: actions
- name: create config
id: create
uses: ./actions/example-config-updater
with:
mode: create
read:
name: Read
runs-on: ubuntu-latest
needs: [init]
steps:
- name: unstash action dir
uses: actions/download-artifact@v4
with:
name: actions
path: actions
- name: read config
uses: ./actions/example-config-updater
with:
mode: read
artifactId: ${{ needs.init.outputs.artifactId }}
update:
name: Update
runs-on: ubuntu-latest
needs: [read]
steps:
- name: post
run: echo 'starting ${{ github.job }}'