mirror of
https://github.com/All-Hands-AI/OpenHands.git
synced 2024-08-29 01:18:33 +03:00
try fix tag again
This commit is contained in:
4
.github/workflows/ghcr.yml
vendored
4
.github/workflows/ghcr.yml
vendored
@@ -108,7 +108,7 @@ jobs:
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: last-tag-${{ matrix.image }}-${{ steps.build.outputs.last_tag }}-${{ matrix.platform }}
|
||||
path: last_tag.txt
|
||||
path: /tmp/last-tag.txt
|
||||
retention-days: 1
|
||||
|
||||
prepare_test_matrix:
|
||||
@@ -125,7 +125,7 @@ jobs:
|
||||
- name: Set up test matrix
|
||||
id: set-matrix
|
||||
run: |
|
||||
matrix=$(cat last-tag-* | jq -R -s -c 'split("\n")[:-1] | map(select(length > 0)) | map(split("=")) | map({"image": .[0] | split("_")[0], "base_image": .[0] | split("_")[1], "platform": .[0] | split("_")[2], "last_tag": .[1]})')
|
||||
matrix=$(cat /tmp/last-tag-* | jq -R -s -c 'split("\n")[:-1] | map(select(length > 0)) | map(split("=")) | map({"image": .[0] | split("_")[0], "base_image": .[0] | split("_")[1], "platform": .[0] | split("_")[2], "last_tag": .[1]})')
|
||||
echo "test_matrix=$matrix" >> $GITHUB_OUTPUT
|
||||
echo "test_matrix=$matrix"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user