Skip to content

Commit

Permalink
add action
Browse files Browse the repository at this point in the history
  • Loading branch information
luckygopher committed Apr 23, 2024
1 parent 397610c commit 162f1e9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/tool_kit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,15 @@ on:
branches:
- staging
- main
pull_request:
branches:
- main

jobs:
test_action_job1:
name: test action
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/main' && github.event_name == 'push'
if: github.ref == 'refs/heads/main' && (github.event_name == 'push' || github.event_name == 'pull_request')
steps:
- name: checkout repository
uses: actions/checkout@v4
Expand All @@ -19,6 +22,7 @@ jobs:
make build_linux
./bin/tool -h
./bin/tool action1
test_action_job2:
name: test action
runs-on: ubuntu-latest
Expand Down
File renamed without changes.

0 comments on commit 162f1e9

Please sign in to comment.