Skip to content

Commit

Permalink
Test
Browse files Browse the repository at this point in the history
  • Loading branch information
jsoref authored Oct 9, 2024
1 parent eb873d4 commit 719d8ca
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/blank.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: A
env:
A: ${{ github.event_name == 'pull_request' }}
Expand All @@ -22,3 +23,17 @@ jobs:
C: ${{ github.event_name == 'pull_request' && 0 || 1 }}
run: |
echo C: ${C}
- name: D
uses: ./
with:
skip-checkout: ${{ github.event_name == 'pull_request' }}

- name: E
uses: ./
with:
skip-checkout: ${{ github.event_name == 'pull_request' && 1 || 0 }}

- name: F
uses: ./
with:
skip-checkout: ${{ github.event_name == 'pull_request' && 0 || 1 }}
26 changes: 26 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: '?'
inputs:
skip-checkout:
description: "?"
required: false

runs:
using: 'composite'
steps:
- name: Surprise
if: ${{ inputs.skip-checkout }}
shell: bash
run: |
: Surprise
- name: Checkout
if: ${{ ! inputs.skip-checkout }}
shell: bash
run: |
: Checkout
- name: Skipped Checkout
if: ${{ !! inputs.skip-checkout }}
shell: bash
run: |
: Skipped Checkout

0 comments on commit 719d8ca

Please sign in to comment.