We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c3fe6c0 commit 3844902Copy full SHA for 3844902
.github/workflows/release.yml
@@ -97,7 +97,13 @@ jobs:
97
submodules: recursive
98
- name: Package Source
99
run: |
100
- tar czvf projectm-${{ needs.set_tag.outputs.tag }}-source.tar.gz --exclude='.git*' .
+ TAG=${{ needs.set_tag.outputs.tag }}
101
+ TAR=projectm-$TAG-source.tar.gz
102
+ # Exclude VCS metadata and the output archive itself to avoid "file changed as we read it" errors
103
+ tar --warning=no-file-changed czvf "$TAR" \
104
+ --exclude='.git*' \
105
+ --exclude="$TAR" \
106
+ .
107
- name: Upload artifact
108
uses: actions/upload-artifact@v4
109
with:
0 commit comments