Skip to content

Commit

Permalink
Testing
Browse files Browse the repository at this point in the history
  • Loading branch information
bep committed Aug 13, 2024
1 parent 0d0e181 commit 8847186
Showing 1 changed file with 12 additions and 15 deletions.
27 changes: 12 additions & 15 deletions .github/workflows/blank.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,12 @@

name: CI

# Controls when the workflow will run
on:
# Triggers the workflow on push or pull request events but only for the main branch
push:
branches: [ main ]
pull_request:
branches: [ main ]
tags:
- "*"
paths:
- README.md

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
Expand All @@ -18,21 +17,19 @@ jobs:
runs-on: ubuntu-latest
outputs:
v1var: ${{ steps.step1.outputs.v1 }}
v2var: ${{ steps.step1.outputs.v2 }}
v2var: ${{ steps.step1.outputs.v2 }}
strategy:
matrix:
foo: [v1, v2]
steps:
- id: step1
run: echo "::set-output name=${{ matrix.foo }}::${{ matrix.foo }}"
env:
REPOSECRET: ${{ secrets.REPOSECRET }}
- id: step1
run: echo "::set-output name=${{ matrix.foo }}::${{ matrix.foo }}"
env:
REPOSECRET: ${{ secrets.REPOSECRET }}
two:
runs-on: ubuntu-latest
needs: one
steps:
- run: echo '${{ needs.one.outputs.v1var }}'
- run: echo '${{ needs.one.outputs.v2var }}'
- run: echo '${{ toJson(needs.one.outputs) }}'


- run: echo '${{ needs.one.outputs.v1var }}'
- run: echo '${{ needs.one.outputs.v2var }}'
- run: echo '${{ toJson(needs.one.outputs) }}'

0 comments on commit 8847186

Please sign in to comment.