Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump viash-io/viash-actions from 5 to 6 #897

Merged
merged 2 commits into from
Sep 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions .github/workflows/main-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,14 @@ jobs:
steps:
- uses: actions/checkout@v4

- uses: viash-io/viash-actions/setup@v5
- uses: viash-io/viash-actions/setup@v6

- name: Remove target folder from .gitignore
run: |
# allow publishing the target folder
sed -i 's#^/target/$##g' .gitignore

- uses: viash-io/viash-actions/ns-build@v5
- uses: viash-io/viash-actions/ns-build@v6
with:
config_mod: .functionality.version := 'main_build'
parallel: true
Expand All @@ -35,7 +35,7 @@ jobs:
publish_branch: main_build

- id: ns_list
uses: viash-io/viash-actions/ns-list@v5
uses: viash-io/viash-actions/ns-list@v6
with:
platform: docker
src: src
Expand Down Expand Up @@ -71,10 +71,10 @@ jobs:

- uses: actions/checkout@v4

- uses: viash-io/viash-actions/setup@v5
- uses: viash-io/viash-actions/setup@v6

- name: Build container
uses: viash-io/viash-actions/ns-build@v5
uses: viash-io/viash-actions/ns-build@v6
with:
config_mod: .functionality.version := 'main_build'
platform: docker
Expand All @@ -89,7 +89,7 @@ jobs:
password: ${{ secrets.GITHUB_TOKEN }}

- name: Push container
uses: viash-io/viash-actions/ns-build@v5
uses: viash-io/viash-actions/ns-build@v6
with:
config_mod: .functionality.version := 'main_build'
platform: docker
Expand Down
26 changes: 13 additions & 13 deletions .github/workflows/release-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ jobs:
steps:
- uses: actions/checkout@v4

- uses: viash-io/viash-actions/setup@v5
- uses: viash-io/viash-actions/setup@v6

- uses: viash-io/viash-actions/project/sync-and-cache-s3@v5
- uses: viash-io/viash-actions/project/sync-and-cache-s3@v6
id: cache
with:
s3_bucket: $s3_bucket
Expand All @@ -36,21 +36,21 @@ jobs:
# allow publishing the target folder
sed -i 's#^/target/$##g' .gitignore

- uses: viash-io/viash-actions/ns-build@v5
- uses: viash-io/viash-actions/ns-build@v6
with:
config_mod: ".functionality.version := '${{ github.event.inputs.version_tag }}'"
parallel: true

- name: Build nextflow schemas
uses: viash-io/viash-actions/pro/build-nextflow-schemas@v5
uses: viash-io/viash-actions/pro/build-nextflow-schemas@v6
with:
workflows: src
components: src
viash_pro_token: ${{ secrets.GTHB_PAT }}
tools_version: 'main_build'

- name: Build parameter files
uses: viash-io/viash-actions/pro/build-nextflow-params@v5
uses: viash-io/viash-actions/pro/build-nextflow-params@v6
with:
workflows: src
components: src
Expand All @@ -66,14 +66,14 @@ jobs:
full_commit_message: "Deploy for release ${{ github.event.inputs.version_tag }} from ${{ github.sha }}"

- id: ns_list_components
uses: viash-io/viash-actions/ns-list@v5
uses: viash-io/viash-actions/ns-list@v6
with:
platform: docker
src: src
format: json

- id: ns_list_workflows
uses: viash-io/viash-actions/ns-list@v5
uses: viash-io/viash-actions/ns-list@v6
with:
src: workflows
format: json
Expand Down Expand Up @@ -117,10 +117,10 @@ jobs:

- uses: actions/checkout@v4

- uses: viash-io/viash-actions/setup@v5
- uses: viash-io/viash-actions/setup@v6

- name: Build container
uses: viash-io/viash-actions/ns-build@v5
uses: viash-io/viash-actions/ns-build@v6
with:
config_mod: .functionality.version := 'main_build'
platform: docker
Expand All @@ -135,7 +135,7 @@ jobs:
password: ${{ secrets.GITHUB_TOKEN }}

- name: Push container
uses: viash-io/viash-actions/ns-build@v5
uses: viash-io/viash-actions/ns-build@v6
with:
config_mod: .functionality.version := '${{ github.event.inputs.version_tag }}'
platform: docker
Expand All @@ -161,14 +161,14 @@ jobs:

- uses: actions/checkout@v4

- uses: viash-io/viash-actions/setup@v5
- uses: viash-io/viash-actions/setup@v6

- uses: nf-core/[email protected]

# build target dir
# use containers from release branch, hopefully these are available
- name: Build target dir
uses: viash-io/viash-actions/ns-build@v5
uses: viash-io/viash-actions/ns-build@v6
with:
config_mod: ".functionality.version := '${{ github.event.inputs.version_tag }}'"
parallel: true
Expand Down Expand Up @@ -207,7 +207,7 @@ jobs:
steps:
- uses: actions/checkout@v4

- uses: viash-io/viash-actions/setup@v5
- uses: viash-io/viash-actions/setup@v6

# use cache
- name: Cache resources data
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/viash-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,23 +22,23 @@ jobs:
with:
fetch-depth: 0

- uses: viash-io/viash-actions/setup@v5
- uses: viash-io/viash-actions/setup@v6

- uses: viash-io/viash-actions/project/sync-and-cache-s3@v5
- uses: viash-io/viash-actions/project/sync-and-cache-s3@v6
id: cache
with:
s3_bucket: $s3_bucket
dest_path: resources_test
cache_key_prefix: resources_test__

- id: ns_list
uses: viash-io/viash-actions/ns-list@v5
uses: viash-io/viash-actions/ns-list@v6
with:
platform: docker
format: json

- id: ns_list_filtered
uses: viash-io/viash-actions/project/detect-changed-components@v5
uses: viash-io/viash-actions/project/detect-changed-components@v6
with:
input_file: "${{ steps.ns_list.outputs.output_file }}"

Expand Down Expand Up @@ -68,7 +68,7 @@ jobs:

- uses: actions/checkout@v4

- uses: viash-io/viash-actions/setup@v5
- uses: viash-io/viash-actions/setup@v6

# use cache
- name: Cache resources data
Expand Down