We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6f781c6 commit c197cc5Copy full SHA for c197cc5
.github/actions/ccache-push/action.yml
@@ -122,11 +122,17 @@ runs:
122
echo "Pushed ccache to $image:$tag"
123
echo "pushed=true" >> $GITHUB_OUTPUT
124
125
+ - name: Generate unique artifact name
126
+ if: always() && inputs.upload-log == 'true'
127
+ id: artifact
128
+ shell: bash
129
+ run: echo "name=ccache-log-${{ inputs.cache-key }}-$RANDOM" >> $GITHUB_OUTPUT
130
+
131
- name: Upload ccache log
132
if: always() && inputs.upload-log == 'true'
133
uses: actions/upload-artifact@v4
134
with:
- name: ccache-log-${{ inputs.cache-key }}-${{ github.run_attempt }}
135
+ name: ${{ steps.artifact.outputs.name }}
136
path: ${{ github.workspace }}/ccache.log
137
retention-days: 1
138
if-no-files-found: ignore
0 commit comments