rename jobs in test.yml workflow

This commit is contained in:
Alfi Maulana 2023-01-13 21:02:16 +07:00
parent be74c742c5
commit ec0ec4113c
No known key found for this signature in database
GPG Key ID: 2242A64C2A8DF5A4

View File

@ -3,7 +3,7 @@ on:
workflow_dispatch:
push:
jobs:
use-action:
default-usage:
runs-on: ${{ matrix.os }}-latest
strategy:
matrix:
@ -21,7 +21,7 @@ jobs:
- name: Run build result
run: ${{ matrix.os == 'windows' && 'build\Debug\hello_world.exe' || 'build/hello_world' }}
use-action-with-specified-dir:
specified-dir-usage:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
@ -39,7 +39,7 @@ jobs:
- name: Check if the default build directory does not exist
run: test ! -d build
use-action-with-specified-compiler:
specified-compiler-usage:
runs-on: ${{ matrix.os }}-latest
strategy:
matrix:
@ -61,7 +61,7 @@ jobs:
- name: Run build result
run: build/test_c && build/test_cpp
use-action-with-specified-generator:
specified-generator-usage:
runs-on: ${{ matrix.os }}-latest
strategy:
matrix: