Skip to content

Commit

Permalink
experiments: New workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
tarsius committed Aug 12, 2024
1 parent 9e6d27d commit d90fa5c
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/experiments.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: Experiments
permissions: {}
on:
workflow_call:
jobs:
one:
name: "Ternary"
runs-on: ubuntu-latest
steps:
- name: "echo github.ref"
run: echo ${{ github.ref }}
- name: "echo ternary value"
run: echo ${{ startsWith(github.ref, 'refs/tags/') && 'release' || 'publish' }}

0 comments on commit d90fa5c

Please sign in to comment.