Skip to content
This repository was archived by the owner on Feb 1, 2023. It is now read-only.

Commit bf15a04

Browse files
author
Matthias Koeppe
committed
Use tar --remove-files
1 parent 801a0d0 commit bf15a04

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

.github/workflows/ci-cygwin-standard.yml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ jobs:
8181
# We specifically use the cygwin tar so that symlinks are saved/restored correctly on Windows.
8282
# We remove the local/lib64 link, which will be recreated by the next stage.
8383
run: |
84-
C:\\tools\\cygwin\\bin\\bash -l -c 'cd $(cygpath -u "$GITHUB_WORKSPACE") && rm -f local/lib64; tar -cf sage-local-${{ env.STAGE }}.tar local'
84+
C:\\tools\\cygwin\\bin\\bash -l -c 'cd $(cygpath -u "$GITHUB_WORKSPACE") && rm -f local/lib64; tar -cf sage-local-${{ env.STAGE }}.tar --remove-files local'
8585
if: always()
8686
- uses: actions/upload-artifact@v2-preview
8787
# upload-artifact@v2-preview does not support whitespace in file names.
@@ -151,7 +151,7 @@ jobs:
151151
# We specifically use the cygwin tar so that symlinks are saved/restored correctly on Windows.
152152
# We remove the local/lib64 link, which will be recreated by the next stage.
153153
run: |
154-
C:\\tools\\cygwin\\bin\\bash -l -c 'cd $(cygpath -u "$GITHUB_WORKSPACE") && rm -f local/lib64; tar -cf sage-local-${{ env.STAGE }}.tar local'
154+
C:\\tools\\cygwin\\bin\\bash -l -c 'cd $(cygpath -u "$GITHUB_WORKSPACE") && rm -f local/lib64; tar -cf sage-local-${{ env.STAGE }}.tar --remove-files local'
155155
if: always()
156156
- uses: actions/upload-artifact@v2-preview
157157
# upload-artifact@v2-preview does not support whitespace in file names.
@@ -232,7 +232,7 @@ jobs:
232232
# We specifically use the cygwin tar so that symlinks are saved/restored correctly on Windows.
233233
# We remove the local/lib64 link, which will be recreated by the next stage.
234234
run: |
235-
C:\\tools\\cygwin\\bin\\bash -l -c 'cd $(cygpath -u "$GITHUB_WORKSPACE") && rm -f local/lib64; tar -cf sage-local-${{ env.STAGE }}.tar local'
235+
C:\\tools\\cygwin\\bin\\bash -l -c 'cd $(cygpath -u "$GITHUB_WORKSPACE") && rm -f local/lib64; tar -cf sage-local-${{ env.STAGE }}.tar --remove-files local'
236236
if: always()
237237
- uses: actions/upload-artifact@v2-preview
238238
# upload-artifact@v2-preview does not support whitespace in file names.
@@ -311,7 +311,7 @@ jobs:
311311
# We specifically use the cygwin tar so that symlinks are saved/restored correctly on Windows.
312312
# We remove the local/lib64 link, which will be recreated by the next stage.
313313
run: |
314-
C:\\tools\\cygwin\\bin\\bash -l -c 'cd $(cygpath -u "$GITHUB_WORKSPACE") && rm -f local/lib64; tar -cf sage-local-${{ env.STAGE }}.tar local'
314+
C:\\tools\\cygwin\\bin\\bash -l -c 'cd $(cygpath -u "$GITHUB_WORKSPACE") && rm -f local/lib64; tar -cf sage-local-${{ env.STAGE }}.tar --remove-files local'
315315
if: always()
316316
- uses: actions/upload-artifact@v2-preview
317317
with:
@@ -388,7 +388,7 @@ jobs:
388388
# We specifically use the cygwin tar so that symlinks are saved/restored correctly on Windows.
389389
# We remove the local/lib64 link, which will be recreated by the next stage.
390390
run: |
391-
C:\\tools\\cygwin\\bin\\bash -l -c 'cd $(cygpath -u "$GITHUB_WORKSPACE") && rm -f local/lib64; tar -cf sage-local-${{ env.STAGE }}.tar local'
391+
C:\\tools\\cygwin\\bin\\bash -l -c 'cd $(cygpath -u "$GITHUB_WORKSPACE") && rm -f local/lib64; tar -cf sage-local-${{ env.STAGE }}.tar --remove-files local'
392392
if: always()
393393
- uses: actions/upload-artifact@v2-preview
394394
with:
@@ -465,7 +465,7 @@ jobs:
465465
# We specifically use the cygwin tar so that symlinks are saved/restored correctly on Windows.
466466
# We remove the local/lib64 link, which will be recreated by the next stage.
467467
run: |
468-
C:\\tools\\cygwin\\bin\\bash -l -c 'cd $(cygpath -u "$GITHUB_WORKSPACE") && rm -f local/lib64; tar -cf sage-local-${{ env.STAGE }}.tar local'
468+
C:\\tools\\cygwin\\bin\\bash -l -c 'cd $(cygpath -u "$GITHUB_WORKSPACE") && rm -f local/lib64; tar -cf sage-local-${{ env.STAGE }}.tar --remove-files local'
469469
if: always()
470470
- uses: actions/upload-artifact@v2-preview
471471
with:
@@ -542,7 +542,7 @@ jobs:
542542
# We specifically use the cygwin tar so that symlinks are saved/restored correctly on Windows.
543543
# We remove the local/lib64 link, which will be recreated by the next stage.
544544
run: |
545-
C:\\tools\\cygwin\\bin\\bash -l -c 'cd $(cygpath -u "$GITHUB_WORKSPACE") && rm -f local/lib64; tar -cf sage-local-${{ env.STAGE }}.tar local'
545+
C:\\tools\\cygwin\\bin\\bash -l -c 'cd $(cygpath -u "$GITHUB_WORKSPACE") && rm -f local/lib64; tar -cf sage-local-${{ env.STAGE }}.tar --remove-files local'
546546
if: always()
547547
- uses: actions/upload-artifact@v2-preview
548548
with:
@@ -621,7 +621,7 @@ jobs:
621621
# We specifically use the cygwin tar so that symlinks are saved/restored correctly on Windows.
622622
# We remove the local/lib64 link, which will be recreated by the next stage.
623623
run: |
624-
C:\\tools\\cygwin\\bin\\bash -l -c 'cd $(cygpath -u "$GITHUB_WORKSPACE") && rm -f local/lib64; tar -cf sage-local-${{ env.STAGE }}.tar local'
624+
C:\\tools\\cygwin\\bin\\bash -l -c 'cd $(cygpath -u "$GITHUB_WORKSPACE") && rm -f local/lib64; tar -cf sage-local-${{ env.STAGE }}.tar --remove-files local'
625625
if: always()
626626
- uses: actions/upload-artifact@v2-preview
627627
with:
@@ -700,7 +700,7 @@ jobs:
700700
# We specifically use the cygwin tar so that symlinks are saved/restored correctly on Windows.
701701
# We remove the local/lib64 link, which will be recreated by the next stage.
702702
run: |
703-
C:\\tools\\cygwin\\bin\\bash -l -c 'cd $(cygpath -u "$GITHUB_WORKSPACE") && rm -f local/lib64; tar -cf sage-local-${{ env.STAGE }}.tar local'
703+
C:\\tools\\cygwin\\bin\\bash -l -c 'cd $(cygpath -u "$GITHUB_WORKSPACE") && rm -f local/lib64; tar -cf sage-local-${{ env.STAGE }}.tar --remove-files local'
704704
if: always()
705705
- uses: actions/upload-artifact@v2-preview
706706
with:
@@ -777,7 +777,7 @@ jobs:
777777
# We specifically use the cygwin tar so that symlinks are saved/restored correctly on Windows.
778778
# We remove the local/lib64 link, which will be recreated by the next stage.
779779
run: |
780-
C:\\tools\\cygwin\\bin\\bash -l -c 'cd $(cygpath -u "$GITHUB_WORKSPACE") && rm -f local/lib64; tar -cf sage-local-${{ env.STAGE }}.tar local'
780+
C:\\tools\\cygwin\\bin\\bash -l -c 'cd $(cygpath -u "$GITHUB_WORKSPACE") && rm -f local/lib64; tar -cf sage-local-${{ env.STAGE }}.tar --remove-files local'
781781
if: always()
782782
- uses: actions/upload-artifact@v2-preview
783783
with:
@@ -854,7 +854,7 @@ jobs:
854854
# We specifically use the cygwin tar so that symlinks are saved/restored correctly on Windows.
855855
# We remove the local/lib64 link, which will be recreated by the next stage.
856856
run: |
857-
C:\\tools\\cygwin\\bin\\bash -l -c 'cd $(cygpath -u "$GITHUB_WORKSPACE") && rm -f local/lib64; tar -cf sage-local-${{ env.STAGE }}.tar local'
857+
C:\\tools\\cygwin\\bin\\bash -l -c 'cd $(cygpath -u "$GITHUB_WORKSPACE") && rm -f local/lib64; tar -cf sage-local-${{ env.STAGE }}.tar --remove-files local'
858858
if: always()
859859
- uses: actions/upload-artifact@v2-preview
860860
with:
@@ -931,7 +931,7 @@ jobs:
931931
# We specifically use the cygwin tar so that symlinks are saved/restored correctly on Windows.
932932
# We remove the local/lib64 link, which will be recreated by the next stage.
933933
run: |
934-
C:\\tools\\cygwin\\bin\\bash -l -c 'cd $(cygpath -u "$GITHUB_WORKSPACE") && rm -f local/lib64; tar -cf sage-local-${{ env.STAGE }}.tar local'
934+
C:\\tools\\cygwin\\bin\\bash -l -c 'cd $(cygpath -u "$GITHUB_WORKSPACE") && rm -f local/lib64; tar -cf sage-local-${{ env.STAGE }}.tar --remove-files local'
935935
if: always()
936936
- uses: actions/upload-artifact@v2-preview
937937
with:

0 commit comments

Comments
 (0)