Skip to content

Commit ffb4b31

Browse files
Adwait DeshpandeAdwait Deshpande
authored andcommitted
ci: fix artifact packaging and upload paths (avoid ..)
1 parent 1a682fb commit ffb4b31

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,22 +66,22 @@ jobs:
6666
ARCHIVE_NAME=devspace-sweeper-${VERSION}-${{ matrix.target }}.zip
6767
cp "$BIN_PATH" "$OUTDIR/"
6868
cp README.md LICENSE "$OUTDIR/" || true
69-
(cd "$OUTDIR" && zip -r "../${ARCHIVE_NAME}" .)
69+
(cd "$OUTDIR" && zip -r "${ARCHIVE_NAME}" .)
7070
;;
7171
*)
7272
BIN_PATH=target/${{ matrix.target }}/release/devspace-sweeper
7373
ARCHIVE_NAME=devspace-sweeper-${VERSION}-${{ matrix.target }}.tar.gz
7474
cp "$BIN_PATH" "$OUTDIR/"
7575
cp README.md LICENSE "$OUTDIR/" || true
76-
(cd "$OUTDIR" && tar -czf "../${ARCHIVE_NAME}" .)
76+
(cd "$OUTDIR" && tar -czf "${ARCHIVE_NAME}" .)
7777
;;
7878
esac
7979
8080
- name: Upload artifact
8181
uses: actions/upload-artifact@v4
8282
with:
8383
name: release-${{ matrix.target }}
84-
path: release-artifacts/${{ matrix.target }}/..
84+
path: release-artifacts/${{ matrix.target }}
8585

8686
publish-release:
8787
needs: release

0 commit comments

Comments
 (0)