Skip to content

Commit

Permalink
Actions testing
Browse files Browse the repository at this point in the history
  • Loading branch information
TGRCdev committed Jan 28, 2025
1 parent 987a6d6 commit 06816b1
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/cargo-release.toml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
pre-release-commit-message = "[skip actions] Publish Pre-release"
pre-release-commit-message = "[no publish] Publish Pre-release"
tag = false
2 changes: 1 addition & 1 deletion .github/workflows/prerelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
- name: Git Config
run: git config user.name "GitHub Action" && git config user.email "[email protected]"
- name: Publish RC
run: cargo-release release alpha --execute --no-confirm --config .github/workflows/cargo-release.toml
run: cargo-release release alpha --no-confirm --config .github/workflows/cargo-release.toml
- name: Logout of Cargo
if: always()
run: cargo logout
5 changes: 4 additions & 1 deletion .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,10 @@ jobs:
check-src:
name: Check Source Changed
runs-on: ubuntu-latest
if: ${{ github.ref == 'refs/heads/main' && github.event_name == 'push' }}
if: ${{
#github.ref == 'refs/heads/main' &&
github.event_name == 'push' &&
! github.event.push.head_commit.message.startsWith("[no publish]") }}
outputs:
src-changed: ${{ steps.changes.outputs.src }}
steps:
Expand Down

0 comments on commit 06816b1

Please sign in to comment.