-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: rename workflows, jobs, and steps
- Loading branch information
Showing
1 changed file
with
7 additions
and
6 deletions.
There are no files selected for viewing
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
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' || '' }} |