forked from bowtie-json-schema/bowtie
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathaction.yml
More file actions
36 lines (33 loc) · 1.02 KB
/
Copy pathaction.yml
File metadata and controls
36 lines (33 loc) · 1.02 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
name: Setup Bowtie
description: "Install Bowtie, hooray!"
author: "Julian Berman"
branding:
icon: package
color: blue
inputs:
version:
required: false
description: "bowtie version to be installed"
default: ""
installation-attempts:
required: false
default: "5"
description: "number of attempts to install bowtie with specified version if this version is not yet avaialble"
installation-wait-seconds:
required: false
default: "10"
description: "number of seconds to wait before performing the next installation attempt if current one has failed"
runs:
using: composite
steps:
- uses: astral-sh/setup-uv@3259c6206f993105e3a61b142c2d97bf4b9ef83d # v7.1.0
with:
python-version: 3.13
- name: Install latest Bowtie
if: inputs.version == ''
run: uv tool install bowtie-json-schema
shell: bash
- name: "Install Bowtie ${{ inputs.version }}"
if: inputs.version != ''
run: uv tool install bowtie-json-schema==${{ inputs.version }}
shell: bash