Skip to content

Commit

Permalink
Adjust actions
Browse files Browse the repository at this point in the history
  • Loading branch information
sterliakov committed Dec 19, 2023
1 parent 211a2f5 commit 1add6eb
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Set variables
id: vars
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
if: "startsWith(github.ref, 'refs/tags/')"
steps:
- name: Check out repository
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: 1
- name: Set variables
Expand All @@ -23,7 +23,6 @@ jobs:
- name: Release
uses: softprops/action-gh-release@v1
with:

prerelease: ${{ contains(github.ref, 'alpha') || contains(github.ref, 'beta') }}
generate_release_notes: true
body: ${{ fromJson(steps.vars.outputs.changelog) }}
8 changes: 3 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,10 @@ jobs:
name: Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: actions/setup-python@v3
- uses: pre-commit/[email protected]
- name: Run Tests
uses: actions-rs/cargo@v1
with:
command: test
# Uncomment if your test needs environment variables. You will also
# need to add the secret to GitHub Actions (under Repo settings).
# env:
# MY_API_TOKEN: ${{ secrets.MY_API_TOKEN }}
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "thor-devkit"
version = "0.1.0-alpha.1"
authors = ["Stanislav Terliakov <[email protected]>"]
description = "Rust library to aid coding with VeChain, eg. Wallets/Tx/Sign/Verify. "
description = "Rust library to aid coding with VeChain, eg. Wallets/Tx/Sign/Verify."
documentation = "https://docs.rs/thor-devkit.rs"
repository = "https://github.com/sterliakov/thor-devkit.rs"
readme = "README.md"
Expand Down

0 comments on commit 1add6eb

Please sign in to comment.