Skip to content

Commit

Permalink
fix CI packaging
Browse files Browse the repository at this point in the history
  • Loading branch information
var77 committed Oct 20, 2024
1 parent 04aafd5 commit 924554a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
6 changes: 0 additions & 6 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -92,9 +92,6 @@ jobs:
pattern: lantern-extras-*.tar
merge-multiple: true
path: /tmp/lantern-extras-package
- uses: geekyeggo/delete-artifact@v4
with:
name: lantern-extras*.tar
- uses: actions/download-artifact@v4
with:
pattern: lantern-cli-*
Expand All @@ -105,9 +102,6 @@ jobs:
pattern: lantern-*.tar
merge-multiple: true
path: /tmp/lantern-package
- uses: geekyeggo/delete-artifact@v4
with:
name: lantern-*.tar
- name: Create universal package
id: package
run: sudo sh -c "GITHUB_OUTPUT=$GITHUB_OUTPUT PACKAGE_EXTRAS=1 GITHUB_TOKEN=$GITHUB_TOKEN ./ci/scripts/universal-package.sh"
Expand Down
2 changes: 2 additions & 0 deletions ci/scripts/universal-package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ package_extension
rm -rf $PACKAGE_DIR

PACKAGE_DIR=/tmp/lantern-package
rm -rf $PACKAGE_DIR/lantern-extras* || true
rm -rf $PACKAGE_DIR/lantern-cli* || true
PACKAGE_VERSION=$(ls -t $PACKAGE_DIR | head -1 | sed -E "s#lantern-(.*)-postgres.*#\1#")
PACKAGE_NAME=lantern-${PACKAGE_VERSION}
OUTPUT_DIR=/tmp/$PACKAGE_NAME
Expand Down

0 comments on commit 924554a

Please sign in to comment.