test variables #7
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 }} | ||
outputs: | ||
needs: collator-selection | ||
runs-on: [self-hosted] | ||
steps: | ||
- name: Output 1 | ||
run: echo "Result: ${{ needs.collator-selection.conclusion }}" | ||
- name: Output 2 | ||
run: echo "Image: ${{ needs.collator-selection.image }}" | ||
- name: Output 3 | ||
run: echo "Tag: ${{ needs.collator-selection.tag }}" |