Skip to content

Commit

Permalink
✨ Fix GitHub Actions Release Build
Browse files Browse the repository at this point in the history
  • Loading branch information
mawoka-myblock committed Feb 4, 2025
1 parent 82407ab commit d8da197
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/release-data.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"ref": "refs/tags/v0.3.1"
}

9 changes: 6 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ jobs:
id: extract_version
run: |
# Remove the "v" prefix if present
VERSION="${GITHUB_REF#refs/tags/v}"
BASE_VERSION="${{ github.event.ref }}"
VERSION=${BASE_VERSION#refs/tags/v}
echo "version=$VERSION" >> $GITHUB_ENV
- name: Update version in Cargo.toml
Expand All @@ -35,8 +36,8 @@ jobs:
VERSION: ${{ env.version }}

# fixes missing libclang error
- name: Setup | libncurses5
run: sudo apt-get install libncurses5
# - name: Setup | libncurses5
# run: sudo apt-get install libncurses5

- name: Setup | Rust
uses: dtolnay/rust-toolchain@master
Expand All @@ -60,6 +61,8 @@ jobs:
uses: cargo-bins/cargo-binstall@main
- name: Install ESPflash
run: cargo binstall espflash --no-confirm
- name: Cache Cargo
uses: Swatinem/rust-cache@v2

# - name: Setup | ldproxy
# run: cargo install ldproxy
Expand Down

0 comments on commit d8da197

Please sign in to comment.