ci: Add ability to specify git ref (#598)

This commit is contained in:
Anatolios Laskaris 2022-12-02 10:15:26 +02:00 committed by GitHub
parent daba370126
commit eccc47bb73
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 0 deletions

View File

@ -35,6 +35,8 @@ jobs:
aqua:
name: "aqua"
uses: ./.github/workflows/snapshot.yml
with:
ref: ${{ github.ref }}
aqua-playground:
needs: aqua

View File

@ -7,6 +7,10 @@ on:
description: "@fluencejs/fluence version"
type: string
default: "null"
ref:
description: "git ref to checkout to"
type: string
default: "main"
outputs:
aqua-version:
description: "@fluencelabs/aqua version"
@ -25,6 +29,7 @@ jobs:
uses: actions/checkout@v3
with:
repository: fluencelabs/aqua
with: ${{ inputs.ref }}
- name: Generate version
id: version