mirror of
https://github.com/Cian-H/read_aconity_layers.git
synced 2025-12-23 18:51:57 +00:00
Compare commits
6 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 0c6a28c63c | |||
| 7ccb11609a | |||
| 54536ae81a | |||
| 6669bb62a9 | |||
| 224e701430 | |||
| 495adfbffa |
9
.github/workflows/tagging.yml
vendored
9
.github/workflows/tagging.yml
vendored
@@ -6,6 +6,7 @@ on:
|
|||||||
- main
|
- main
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
|
actions: write
|
||||||
contents: write
|
contents: write
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
@@ -32,16 +33,16 @@ jobs:
|
|||||||
echo "TAG_EXISTS=true" >> $GITHUB_ENV
|
echo "TAG_EXISTS=true" >> $GITHUB_ENV
|
||||||
else
|
else
|
||||||
echo "TAG_EXISTS=false" >> $GITHUB_ENV
|
echo "TAG_EXISTS=false" >> $GITHUB_ENV
|
||||||
|
echo "VERSION=$VERSION" >> $GITHUB_ENV
|
||||||
fi
|
fi
|
||||||
|
|
||||||
- name: Create and Push Git Tag
|
- name: Create and Push Git Tag
|
||||||
if: env.TAG_EXISTS == 'false'
|
if: env.TAG_EXISTS == 'false'
|
||||||
run: |
|
run: |
|
||||||
VERSION=${{ fromJson(steps.info.outputs.object).package.version }}
|
|
||||||
git config --global user.name "github-actions[bot]"
|
git config --global user.name "github-actions[bot]"
|
||||||
git config --global user.email "github-actions[bot]@users.noreply.github.com"
|
git config --global user.email "github-actions[bot]@users.noreply.github.com"
|
||||||
git tag "$VERSION"
|
git tag "${{ env.VERSION }}"
|
||||||
git push origin "$VERSION"
|
git push origin "${{ env.VERSION }}"
|
||||||
|
|
||||||
- name: Trigger Release Workflow
|
- name: Trigger Release Workflow
|
||||||
if: env.TAG_EXISTS == 'false'
|
if: env.TAG_EXISTS == 'false'
|
||||||
@@ -53,5 +54,5 @@ jobs:
|
|||||||
owner: context.repo.owner,
|
owner: context.repo.owner,
|
||||||
repo: context.repo.repo,
|
repo: context.repo.repo,
|
||||||
workflow_id: 'CI.yml',
|
workflow_id: 'CI.yml',
|
||||||
ref: 'main'
|
ref: '${{ env.VERSION }}' // <-- This is the key change!
|
||||||
})
|
})
|
||||||
|
|||||||
10
Cargo.toml
10
Cargo.toml
@@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "read_aconity_layers"
|
name = "read_aconity_layers"
|
||||||
version = "0.4.6"
|
version = "0.4.9"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
@@ -9,13 +9,13 @@ path = "src/lib.rs"
|
|||||||
crate-type = ["cdylib"]
|
crate-type = ["cdylib"]
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
csv = "*"
|
csv = "1.3.0"
|
||||||
glob = "*"
|
glob = "0.3.2"
|
||||||
indicatif = "*"
|
indicatif = "0.17.8"
|
||||||
ndarray = { version = "0.16.1", features = ["rayon"] }
|
ndarray = { version = "0.16.1", features = ["rayon"] }
|
||||||
numpy = "0.25.0"
|
numpy = "0.25.0"
|
||||||
pyo3 = { version = "0.25.0", features = ["abi3-py311", "extension-module"] }
|
pyo3 = { version = "0.25.0", features = ["abi3-py311", "extension-module"] }
|
||||||
rayon = "*"
|
rayon = "1.10.0"
|
||||||
thiserror = "2.0.12"
|
thiserror = "2.0.12"
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
|
|||||||
Reference in New Issue
Block a user