Skip to content

Commit 8202d5e

Browse files
committed
gh-actions: need newer setuptools to run setuptools_scm
1 parent ace770d commit 8202d5e

File tree

2 files changed

+11
-2
lines changed

2 files changed

+11
-2
lines changed

.github/workflows/ci-tests.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -249,6 +249,8 @@ jobs:
249249
runs-on: ubuntu-latest
250250
steps:
251251
- uses: actions/checkout@v4
252+
with:
253+
fetch-depth: 0
252254
- name: record cwltool version
253255
run: pip install -U setuptools wheel && pip install setuptools_scm[toml] && python setup.py --version
254256
- name: build & test cwltool_module container

.github/workflows/quay-publish.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,17 @@ jobs:
99
runs-on: ubuntu-latest
1010
steps:
1111
- uses: actions/checkout@v4
12+
with:
13+
fetch-depth: 0
1214
- name: Get image tags
1315
id: image_tags
1416
run: |
15-
echo -n ::set-output "name=IMAGE_TAGS::${GITHUB_REF#refs/*/}"
17+
echo -n "IMAGE_TAGS=${GITHUB_REF#refs/*/}" >> $GITHUB_OUTPUT
1618
- name: record cwltool version
17-
run: pip install setuptools_scm[toml] wheel && python setup.py --version
19+
run: |
20+
pip install "setuptools>=61"
21+
pip install setuptools_scm[toml] wheel
22+
python setup.py --version
1823
- name: Set up QEMU
1924
uses: docker/setup-qemu-action@v3
2025
- name: Set up Docker Buildx
@@ -35,6 +40,7 @@ jobs:
3540
- name: Build and publish cwltool_module image to Quay
3641
uses: docker/build-push-action@v5
3742
with:
43+
context: .
3844
file: cwltool.Dockerfile
3945
tags: quay.io/commonwl/cwltool_module:${{ steps.image_tags.outputs.IMAGE_TAGS }},quay.io/commonwl/cwltool_module:latest
4046
target: module
@@ -45,6 +51,7 @@ jobs:
4551
- name: Build and publish cwltool image to Quay
4652
uses: docker/build-push-action@v5
4753
with:
54+
context: .
4855
file: cwltool.Dockerfile
4956
tags: quay.io/commonwl/cwltool:${{ steps.image_tags.outputs.IMAGE_TAGS }},quay.io/commonwl/cwltool:latest
5057
platforms: linux/amd64,linux/arm64

0 commit comments

Comments
 (0)