Skip to content

Commit

Permalink
refactor: make ref checkout for picasso scripts configurable
Browse files Browse the repository at this point in the history
This change makes the use of versions different than default possible,
so the code available matches the version of the workflow used.
  • Loading branch information
mariajgrimaldi committed Nov 19, 2024
1 parent b537848 commit 998c3f9
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,11 @@ on:
required: false
type: string
default: '3.12'
PICASSO_VERSION:
description: 'Picasso version to use for the workflow scripts and utility functions. This should be a valid branch, tag or commit and it should match the version of the workflow used.'
required: false
type: string
default: 'v1'
secrets:
DOCKERHUB_USERNAME:
description: 'DockerHub username for login'
Expand Down Expand Up @@ -70,7 +75,7 @@ jobs:
uses: actions/checkout@v4
with:
repository: edunext/picasso
ref: v1
ref: ${{ inputs.PICASSO_VERSION }}
path: picasso

- name: Checkout strains repository for build configurations
Expand Down

0 comments on commit 998c3f9

Please sign in to comment.