Tidy up naming

This commit is contained in:
Dean Herbert
2021-09-21 02:47:27 +09:00
parent afcf3edec9
commit f282bd6f42

View File

@ -4,7 +4,7 @@
# !pp check 0 2 | Runs only the osu! and catch rulesets. # !pp check 0 2 | Runs only the osu! and catch rulesets.
# #
name: Diffcalc Consistency Checks name: Difficulty Calculation
on: on:
issue_comment: issue_comment:
types: [ created ] types: [ created ]
@ -17,13 +17,14 @@ env:
jobs: jobs:
metadata: metadata:
name: Check for requests
runs-on: self-hosted runs-on: self-hosted
if: github.event.issue.pull_request && contains(github.event.comment.body, '!pp check') && (github.event.comment.author_association == 'MEMBER' || github.event.comment.author_association == 'OWNER') if: github.event.issue.pull_request && contains(github.event.comment.body, '!pp check') && (github.event.comment.author_association == 'MEMBER' || github.event.comment.author_association == 'OWNER')
outputs: outputs:
matrix: ${{ steps.generate-matrix.outputs.matrix }} matrix: ${{ steps.generate-matrix.outputs.matrix }}
continue: ${{ steps.generate-matrix.outputs.continue }} continue: ${{ steps.generate-matrix.outputs.continue }}
steps: steps:
- name: generate matrix - name: Construct build matrix
id: generate-matrix id: generate-matrix
run: | run: |
if [[ "${{ github.event.comment.body }}" =~ "1" ]] ; then if [[ "${{ github.event.comment.body }}" =~ "1" ]] ; then
@ -50,15 +51,13 @@ jobs:
echo "::set-output name=continue::${CONTINUE}" echo "::set-output name=continue::${CONTINUE}"
echo "::set-output name=matrix::${MATRIX_JSON}" echo "::set-output name=matrix::${MATRIX_JSON}"
diffcalc: diffcalc:
name: Diffcalc name: Run
runs-on: self-hosted runs-on: self-hosted
continue-on-error: true continue-on-error: true
if: needs.metadata.outputs.continue == 'yes' if: needs.metadata.outputs.continue == 'yes'
needs: metadata needs: metadata
strategy: strategy:
matrix: ${{ fromJson(needs.metadata.outputs.matrix) }} matrix: ${{ fromJson(needs.metadata.outputs.matrix) }}
steps: steps:
- name: Verify MySQL connection from host - name: Verify MySQL connection from host
run: | run: |