mirror of
https://github.com/EDCD/EDMarketConnector.git
synced 2026-11-08 02:02:33 +03:00
Set array in earlier job using JSON
This commit is contained in:
1 parent
72c201c5a1
commit
8b863c5efd
1 file changed
+10
-1
@@ -11,12 +11,21 @@ on:
|
||||
branches: [ develop ]
|
||||
|
||||
jobs:
|
||||
set_allowed:
|
||||
runs-on: ubuntu-18.04
|
||||
outputs:
|
||||
matrix: ${{ steps.set-allowed.outputs.allowed }}
|
||||
steps:
|
||||
- id: set-allowed
|
||||
run: echo "::set-output name=allowed::{['Athanasius']}"
|
||||
|
||||
flake8_annotate:
|
||||
runs-on: ubuntu-18.04
|
||||
needs: set_allowed
|
||||
|
||||
steps:
|
||||
- name: Checkout
|
||||
if: ${{ contains(['Athanasius'], github.actor) }}
|
||||
if: ${{ contains(${{fromJson(needs.set_allowed.outputs.allowed)}}, github.actor) }}
|
||||
uses: actions/checkout@v2
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
Reference in new issue
Block a user