Skip to content

Commit 40f89f7

Browse files
committed
feat: add initial memo file and embedding model for LLM integration
1 parent 0e0ac8e commit 40f89f7

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ on:
1212

1313
env:
1414
APP_NAME: ghosttype
15+
RUST_DIR: .
1516
RELEASE_TAG: ${{ startsWith(github.ref, 'refs/tags/') && github.ref_name || inputs.tag }}
1617

1718
jobs:
@@ -59,12 +60,13 @@ jobs:
5960
run: echo "CARGO_TARGET_AARCH64_UNKNOWN_LINUX_GNU_LINKER=aarch64-linux-gnu-gcc" >> $GITHUB_ENV
6061

6162
- name: Build ${{ matrix.target }}
62-
working-directory: rust
63+
working-directory: ${{ env.RUST_DIR }}
6364
run: cargo build --release --locked --target ${{ matrix.target }}
6465

6566
- name: Package
67+
working-directory: ${{ env.RUST_DIR }}
6668
run: |
67-
BIN_PATH=rust/target/${{ matrix.target }}/release/${{ env.APP_NAME }}
69+
BIN_PATH=target/${{ matrix.target }}/release/${{ env.APP_NAME }}
6870
mkdir -p dist
6971
cp "$BIN_PATH" dist/${{ env.APP_NAME }}
7072
tar -C dist -czf dist/${{ env.APP_NAME }}_${{ env.RELEASE_TAG }}_${{ matrix.archive_os }}_${{ matrix.archive_arch }}.tar.gz ${{ env.APP_NAME }}
@@ -73,7 +75,7 @@ jobs:
7375
uses: actions/upload-artifact@v4
7476
with:
7577
name: ${{ matrix.archive_os }}-${{ matrix.archive_arch }}
76-
path: dist/*.tar.gz
78+
path: ${{ env.RUST_DIR }}/dist/*.tar.gz
7779

7880
release:
7981
needs: build

0 commit comments

Comments
 (0)