fork/static-web-server
git clone https://git.julia.blue/fork/static-web-server
1c4929d
allow-symlink
1name : release-crate 2on : 3release : 4types : 5- published 6 7jobs : 8check-secret : 9runs-on : ubuntu-22.04 10if : contains(github.ref, 'v2.') 11environment : crates-io-static-web-server 12outputs : 13publish : ${{ steps.check.outputs.publish }} 14steps : 15- id : check 16env : 17CRATES_TOKEN : "${{ secrets.CRATES_TOKEN }}" 18if : "${{ env.CRATES_TOKEN != '' }}" 19run : echo "publish=true" >> $GITHUB_OUTPUT 20 21publish : 22needs : check-secret 23runs-on : ubuntu-22.04 24if : needs.check-secret.outputs.publish == 'true' 25environment : crates-io-static-web-server 26steps : 27- name : Checkout 28uses : actions/checkout@v4 29with : 30fetch-depth : 1 31 32- name : Install stable toolchain 33uses : dtolnay/rust-toolchain@nightly 34 35- name : Publish workspace packages 36env : 37CARGO_REGISTRY_TOKEN : ${{ secrets.CRATES_TOKEN }} 38RUSTDOCFLAGS : '--cfg=docsrs --deny=warnings' 39run : cargo publish --all-features --package static-web-server