release v0.13.0 #18
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 | |
on: | |
push: | |
tags: | |
- v* | |
defaults: | |
run: | |
shell: bash | |
jobs: | |
publish: | |
name: Publish release | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
# - name: Publish to crates.io | |
# env: | |
# CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }} | |
# run: cargo publish | |
- name: Create source archives | |
run: |- | |
git archive --prefix pyapp-${{ github.ref_name }}/ -o source.tar.gz HEAD | |
git archive --prefix pyapp-${{ github.ref_name }}/ -o source.zip HEAD | |
- name: Add source archives to current release | |
uses: softprops/action-gh-release@v1 | |
with: | |
files: |- | |
source.tar.gz | |
source.zip |