Rust library to generate static websites
5
fork

Configure Feed

Select the types of activity you want to include in your feed.

ci: update action workflow

+6 -20
+6 -20
.github/workflows/release.yml
··· 14 14 15 15 jobs: 16 16 publish: 17 - # Run only when a Release PR was merged into main 18 - if: > 19 - contains(github.event.head_commit.message, 'chore(release): bump versions and changelogs') 20 17 runs-on: ubuntu-latest 21 18 steps: 22 19 - uses: actions/checkout@v4 23 20 with: 24 21 fetch-depth: 0 25 22 26 - - name: Publish crates (tag + publish) 27 - uses: bruits/sampo/crates/sampo-github-action@main 28 - env: 29 - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} 30 - with: 31 - command: post-merge-publish 32 - cargo-token: ${{ secrets.CARGO_REGISTRY_TOKEN }} 33 - create-github-release: true 34 - 35 - release_pr: 36 - runs-on: ubuntu-latest 37 - steps: 38 - - uses: actions/checkout@v4 39 - with: 40 - fetch-depth: 0 23 + - name: Setup Rust 24 + uses: moonrepo/setup-rust@v1 41 25 42 - - name: Open/refresh Release PR 26 + - name: Run Sampo Release/Publish Action 43 27 uses: bruits/sampo/crates/sampo-github-action@main 44 28 env: 45 29 GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} 30 + CARGO_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }} 46 31 with: 47 - command: prepare-pr 32 + create-github-release: true 33 + upload-binary: true