Update workflows *.yaml
This commit is contained in:
17
.gitea/workflows/005_passing_data_between_steps.yaml
Normal file
17
.gitea/workflows/005_passing_data_between_steps.yaml
Normal file
@@ -0,0 +1,17 @@
|
||||
name: Passing Data Between Steps
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
data-passing:
|
||||
runs-on: ubuntu-22.04
|
||||
steps:
|
||||
- name: Create data
|
||||
id: sender # Set the output name for this step to Apple
|
||||
run: |
|
||||
echo "name=Apple" >> $GITHUB_OUTPUT
|
||||
|
||||
- name: Receive data
|
||||
run: |
|
||||
echo ${{ steps.sender.outputs.name }}
|
||||
Reference in New Issue
Block a user