inc ver #15
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Publish by Tag | |
permissions: | |
contents: write | |
on: | |
push: | |
tags: | |
- v[0-9]+.* | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
create-release: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: install cargo components | |
run: rustup component add clippy | |
- name: test | |
run: .github/scripts/test.sh | |
- name: login to crates.io | |
run: cargo login ${{ secrets.CRATESIO }} | |
- name: publish encrypt_config_derive | |
run: .github/scripts/publish_test.sh encrypt_config_derive && .github/scripts/publish.sh encrypt_config_derive | |
- name: publish encrypt_config | |
run: .github/scripts/publish_test.sh encrypt_config && .github/scripts/publish.sh encrypt_config | |
- uses: taiki-e/create-gh-release-action@v1 | |
with: | |
# (optional) Path to changelog. | |
changelog: CHANGELOG.md | |
# (required) GitHub token for creating GitHub Releases. | |
token: ${{ secrets.GITHUB_TOKEN }} |