First dev-ready build
Some checks failed
Build Project / test (push) Failing after 5m8s

This commit is contained in:
2025-02-06 22:06:05 +00:00
parent 246194b8dd
commit 691b09c954
2 changed files with 2 additions and 8 deletions

View File

@@ -46,16 +46,10 @@ jobs:
VERSION=$(grep '^version' Cargo.toml | head -n 1 | cut -d ' ' -f 3 | tr -d '"') VERSION=$(grep '^version' Cargo.toml | head -n 1 | cut -d ' ' -f 3 | tr -d '"')
echo "VERSION=$VERSION" >> $GITEA_ENV echo "VERSION=$VERSION" >> $GITEA_ENV
- name: Extract Version from Cargo.toml - name: Extract Version from Cargo.toml
id: cargo_version id: Extract version from cargo.toml
run: | run: |
VERSION=$(grep '^version' Cargo.toml | head -n 1 | cut -d ' ' -f 3 | tr -d '"') VERSION=$(grep '^version' Cargo.toml | head -n 1 | cut -d ' ' -f 3 | tr -d '"')
echo "VERSION=$VERSION" >> $GITHUB_ENV echo "VERSION=$VERSION" >> $GITHUB_ENV
- name: Test1
run: echo ${{ env.VERSION }}
- name: Test2
run: echo ${{ VERSION }}
- name: Build and Push Docker Image - name: Build and Push Docker Image
uses: docker/build-push-action@v2 uses: docker/build-push-action@v2
with: with:

View File

@@ -1,6 +1,6 @@
[package] [package]
name = "iot-cloud" name = "iot-cloud"
version = "0.1.0" version = "0.2.0"
edition = "2021" edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html