Skip to content

test variables

test variables #9

name: collator-selection
# Controls when the action will run.
on:
workflow_call:
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
#Define Workflow variables
env:
REPO_URL: ${{ github.server_url }}/${{ github.repository }}
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
collator-selection:
# The type of runner that the job will run on
runs-on: [self-hosted]
continue-on-error: true #Do not stop testing of matrix runs failed. As it decided during PR review - it required 50/50& Let's check it with false.
steps:
- name: Clean Workspace
uses: AutoModality/[email protected]
- name: Check and pull polkadot image
id: polkadot
uses: cloudposse/github-action-docker-image-exists@main
with:
registry: registry.hub.docker.com
organization: parity
repository: polkadot
login: ${{ secrets.CORE_DOCKERHUB_USERNAME }}
password: ${{ secrets.CORE_DOCKERHUB_TOKEN }}
tag: ${{ matrix.relay_branch }}
- name: Output 1
run: echo "Image: ${{ steps.polkadot.outputs.conclusion }}"

Check failure on line 36 in .github/workflows/collator-selection.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/collator-selection.yml

Invalid workflow file

You have an error in your yaml syntax on line 36
- name: Output 2
run: echo "Tag: ${{ steps.polkadot.outputs.conclusion }}"