Skip to content

Test dependent workflows: With reusable workflows #3

Test dependent workflows: With reusable workflows

Test dependent workflows: With reusable workflows #3

Workflow file for this run

name: 'work1'
# Controls when the action will run
on:
workflow_call:
push:
branches:
- '**' # '*' Matches zero or more characters, but does not match the `/` character. '**' matches zero or more of any character.
- '!main'
# Allows to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
job1:
runs-on: 'ubuntu-latest'
steps:
- name: 'w1-j1-step1'
run: |
date '+%F %H:%M:%S' > time.txt
echo '*** WRITTEN time: '
cat time.txt
- name: Upload artifact
uses: actions/upload-artifact@v3
with:
name: time
path: time.txt