From ed0d2df9a05ee47c577a1122600e72690ba6093b Mon Sep 17 00:00:00 2001 From: Kyle J Turpin Date: Sat, 22 Aug 2026 09:39:16 -0500 Subject: [PATCH] Add build workflow to JSON schemas; refine Cargo publish step in test workflow --- .gitea/workflows/test.yml | 14 +------------- .idea/jsonSchemas.xml | 3 +++ 2 files changed, 4 insertions(+), 13 deletions(-) diff --git a/.gitea/workflows/test.yml b/.gitea/workflows/test.yml index 448f0cc..8fc5f25 100644 --- a/.gitea/workflows/test.yml +++ b/.gitea/workflows/test.yml @@ -42,19 +42,7 @@ jobs: index = "sparse+https://git.moturpin.com/api/packages/Matsubaa/cargo/" EOF - - name: Write Cargo credentials - env: - CARGO_TOKEN: ${{ secrets.CARGO_TOKEN }} - run: | - mkdir -p ~/.cargo - umask 077 - cat > ~/.cargo/credentials.toml <<'EOF' - [registries.gitea] - token = "${CARGO_TOKEN}" - EOF - - name: Publish to Gitea Cargo registry env: CARGO_REGISTRIES_GITEA_TOKEN: ${{ secrets.CARGO_TOKEN }} - CARGO_TOKEN: ${{ secrets.CARGO_TOKEN }} - run: nix develop --extra-experimental-features "nix-command flakes" -c cargo publish --registry gitea --token "${CARGO_TOKEN}" --verbose \ No newline at end of file + run: nix develop --extra-experimental-features "nix-command flakes" -c cargo publish --registry gitea --verbose \ No newline at end of file diff --git a/.idea/jsonSchemas.xml b/.idea/jsonSchemas.xml index eb842ea..6c6d674 100644 --- a/.idea/jsonSchemas.xml +++ b/.idea/jsonSchemas.xml @@ -14,6 +14,9 @@ + +