mirror of
https://github.com/nicholaswilde/recipes.git
synced 2025-10-30 04:08:45 +00:00
Update test.yaml
This commit is contained in:
parent
aff6575532
commit
39fd4a68ec
10
.github/workflows/test.yaml
vendored
10
.github/workflows/test.yaml
vendored
@ -15,11 +15,11 @@ jobs:
|
||||
steps:
|
||||
- name: Set variable based on event
|
||||
run: |
|
||||
if [ "${{ github.event_name }}" == "push" ]; then
|
||||
echo "EVENT_TYPE=push" >> $GITHUB_ENV
|
||||
elif [ "${{ github.event_name }}" == "pull_request" ]; then
|
||||
echo "EVENT_TYPE=pull_request" >> $GITHUB_ENV
|
||||
fi
|
||||
echo "EVENT_TYPE=${{ github.event_name }}" >> $GITHUB_ENV
|
||||
# if [ "${{ github.event_name }}" == "push" ]; then
|
||||
# echo "EVENT_TYPE=push" >> $GITHUB_ENV
|
||||
# else; then
|
||||
#fi
|
||||
|
||||
use-variable:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user