Skip to content

Commit

Permalink
Revert toml 0.8, back to 0.7.8 (#129)
Browse files Browse the repository at this point in the history
* revert toml `0.8`, back to `0.7.8`

* CI: enable publish workflow in dry-run mode for PRs
  • Loading branch information
boozook authored Sep 26, 2023
1 parent 3d42b2c commit 9b92f1c
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 18 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
name: Publish
on:
pull_request_target:
workflow_dispatch:
inputs:
sdk:
Expand Down Expand Up @@ -51,7 +52,9 @@ jobs:
- name: Publish
uses: katyo/publish-crates@v2
with:
dry-run: ${{ github.event.inputs.dry-run == 'true' }}
# From docs: `github.head_ref` is only available when the event that triggers
# a workflow run is either `pull_request` or `pull_request_target`.
dry-run: ${{ github.event.inputs.dry-run == 'true' || github.head_ref }}
check-repo: ${{ (github.event.inputs && github.event.inputs.check-repo == 'true') || true }}
ignore-unpublished-changes: true
ignore-unpublished-changes: ${{ github.head_ref == 'false' }}
registry-token: ${{ secrets.CARGO_REGISTRY_TOKEN }}
18 changes: 3 additions & 15 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,4 @@ env_logger = "0.10"
clap = "4.3"
serde = "1.0"
serde_json = "1.0"
toml = "0.8"
toml = "0.7"

0 comments on commit 9b92f1c

Please sign in to comment.