Skip to content

Commit f7d4628

Browse files
committed
update build-test-release.yml
1 parent eb88452 commit f7d4628

1 file changed

Lines changed: 14 additions & 6 deletions

File tree

.github/workflows/build-test-release.yml

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,13 @@ jobs:
1919
steps:
2020
- uses: actions/checkout@v2
2121

22-
- name: Set up Python 3.6
23-
uses: actions/setup-python@v2
22+
- name: Set up Python 3.10
23+
uses: actions/setup-python@v3
2424
with:
25-
python-version: 3.6
25+
python-version: "3.10"
26+
architecture: "x64"
27+
env:
28+
AGENT_TOOLSDIRECTORY: /opt/hostedtoolcache
2629

2730
- name: Extract package name and version from branch name
2831
id: get_pkg_info
@@ -80,10 +83,13 @@ jobs:
8083
steps:
8184
- uses: actions/checkout@v2
8285

83-
- name: Set up Python 3.6
84-
uses: actions/setup-python@v2
86+
- name: Set up Python 3.10
87+
uses: actions/setup-python@v3
8588
with:
86-
python-version: 3.6
89+
python-version: "3.10"
90+
architecture: "x64"
91+
env:
92+
AGENT_TOOLSDIRECTORY: /opt/hostedtoolcache
8793

8894
- name: Install dependencies
8995
run: |
@@ -177,6 +183,8 @@ jobs:
177183
body: |
178184
* Release `${{ steps.get_pkg_info.outputs.pkg_name }}.v${{ steps.get_pkg_info.outputs.pkg_ver }}` (${{ github.sha }})
179185
* Package `${{ steps.prep_assets.outputs.pkg_tar }}` (sha256: `${{ steps.prep_assets.outputs.pkg_tar_sha }}`)
186+
* Package URI `github.com/${{ needs.build.outputs.repo_lowercase }}/${{ steps.get_pkg_info.outputs.pkg_name }}@${{ steps.get_pkg_info.outputs.pkg_ver }}`
187+
* Run the package: `nextflow run ${{ needs.build.outputs.repo_lowercase }}/${{ steps.get_pkg_info.outputs.pkg_name }}/main.nf -r ${{ steps.get_pkg_info.outputs.pkg_name }}.v${{ steps.get_pkg_info.outputs.pkg_ver }} -params-file <params-json-file>`
180188
draft: false
181189
prerelease: false
182190

0 commit comments

Comments
 (0)