Skip to content

Commit

Permalink
ci: rename workflows, jobs, and steps
Browse files Browse the repository at this point in the history
  • Loading branch information
threeal committed Mar 20, 2024
1 parent 18bf21d commit 3b3fb85
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/test.yml → .github/workflows/test.yaml
Original file line number Diff line number Diff line change
@@ -1,29 +1,30 @@
name: test
name: Test
on:
workflow_dispatch:
pull_request:
push:
branches: [main]
jobs:
default-usage:
test-action:
name: Test Action
runs-on: ${{ matrix.os }}-latest
strategy:
fail-fast: false
matrix:
os: [windows, ubuntu, macos]
steps:
- name: Checkout the repository
- name: Checkout
uses: actions/checkout@v4.1.2

- name: Move the test project to the working directory
- name: Prepare Sample Project
run: mv test/* .

- name: Configure and build the project
- name: Configure and Build Project
uses: threeal/cmake-action@v1.3.0
with:
run-build: true

- name: Use the action
- name: Test Project
uses: ./
with:
args: ${{ matrix.os == 'windows' && '-C Debug' || '' }}

0 comments on commit 3b3fb85

Please # to comment.