File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -1613,10 +1613,16 @@ jobs:
1613
1613
1614
1614
- name : Binary Key
1615
1615
id : binary-key
1616
- run : echo "::set-output name=binary-key::profiling-node-binaries-${{ github.sha }}-${{ matrix.node }}-${{ matrix.os }}-${{ matrix.arch }}-${{ matrix.container }} | sed 's/:/-/g'"
1616
+ if : contains(matrix.container, ':')
1617
+ run : |
1618
+ key="profiling-node-binaries-${GITHUB_SHA}-${{ matrix.node }}-${{ matrix.os }}-${{ matrix.arch }}-${{ matrix.container }}"
1619
+ if [[ "$key" == *:* ]]; then
1620
+ key=$(echo "$key" | sed 's/:/-/g')
1621
+ fi
1622
+ echo "key=$key" >> $GITHUB_ENV
1617
1623
1618
1624
- name : Archive Binary
1619
1625
uses : actions/upload-artifact@v4
1620
1626
with :
1621
- name : ${{ steps.binary-key.outputs.binary- key }}
1627
+ name : ${{ steps.binary-key.outputs.key }}
1622
1628
path : ${{ github.workspace }}/packages/profiling-node/lib/*.node
You can’t perform that action at this time.
0 commit comments