diff --git a/.forgejo/workflows/ci.yml b/.forgejo/workflows/ci.yml index 2f8590f..a5edad4 100644 --- a/.forgejo/workflows/ci.yml +++ b/.forgejo/workflows/ci.yml @@ -44,8 +44,12 @@ jobs: mkdir -p "$sdk_dir" cd "$sdk_dir" git init -q + # The SDK lives in a different Forgejo org (fai/) and the + # repo-scoped GITHUB_TOKEN cannot read it. The SDK is + # public, so an anonymous clone is sufficient and avoids + # cross-org token-scope friction. git remote add origin \ - "https://x-access-token:${GITHUB_TOKEN}@git.flemming.ws/fai/module-sdk.git" + "https://git.flemming.ws/fai/module-sdk.git" git fetch --depth=1 origin main git checkout -q FETCH_HEAD echo "module-sdk checked out at: $sdk_dir" diff --git a/Cargo.lock b/Cargo.lock index a1cc1e0..42ae41c 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -169,7 +169,7 @@ dependencies = [ [[package]] name = "fai-module-sdk" -version = "0.1.0" +version = "0.1.2" dependencies = [ "fai-module-sdk-macros", "serde", @@ -180,7 +180,7 @@ dependencies = [ [[package]] name = "fai-module-sdk-macros" -version = "0.1.0" +version = "0.1.2" dependencies = [ "proc-macro2", "quote", @@ -504,7 +504,7 @@ dependencies = [ [[package]] name = "text_extract" -version = "0.1.0" +version = "0.1.1" dependencies = [ "fai-module-sdk", "pdf-extract", diff --git a/Cargo.toml b/Cargo.toml index f72c723..3e4f9cc 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -5,7 +5,7 @@ [package] name = "text_extract" -version = "0.1.0" +version = "0.1.1" edition = "2024" authors = ["Dr. Stefan Flemming "] license = "Apache-2.0"