Skip to content

Commit

Permalink
Update: version, Fix: release action
Browse files Browse the repository at this point in the history
  • Loading branch information
ur-fault committed Sep 24, 2024
1 parent 393a0a0 commit 1ced4a1
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 7 deletions.
20 changes: 14 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -302,11 +302,19 @@ jobs:

- run: sudo apt update && sudo apt install libasound2-dev

- name: publish cmaze
if: ${{ needs.create-release.outputs.dry_run != 'yes' }}
run: cargo publish -p cmaze --token ${{ secrets.CRATES_IO }}

- name: publish tmaze
if: ${{ needs.create-release.outputs.dry_run != 'yes' }}
run: cargo publish -p tmaze --token ${{ secrets.CRATES_IO }}
- name: publish cmaze
if: ${{ fromJSON(needs.create-release.outputs.do_smt) == true }}
uses: katyo/publish-crates@v2
with:
path: ./cmaze
registry-token: ${{ secrets.CRATES_IO }}
ignore-unpublished-changes: true

- name: publish tmaze
if: ${{ fromJSON(needs.create-release.outputs.do_smt) == true }}
uses: katyo/publish-crates@v2
with:
path: ./tmaze
registry-token: ${{ secrets.CRATES_IO }}
ignore-unpublished-changes: true
2 changes: 1 addition & 1 deletion tmaze/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "tmaze"
version = "1.15.4"
version = "1.15.5"
edition = "2021"
authors = ["ur-fault"]
description = "Simple multiplatform maze solving game for terminal written entirely in Rust"
Expand Down

0 comments on commit 1ced4a1

Please sign in to comment.