build(deps): bump indexmap from 2.9.0 to 2.13.0 (#1727) #164
This file contains hidden or 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: Releaser | |
| on: | |
| push: | |
| paths: ["Cargo.toml"] | |
| workflow_dispatch: | |
| permissions: | |
| contents: write | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }}-${{ github.sha }} | |
| cancel-in-progress: true | |
| jobs: | |
| # Create/update a draft release if this is a release creating push event | |
| draft: | |
| uses: ipdxco/unified-github-workflows/.github/workflows/releaser.yml@v1.0 | |
| with: | |
| sources: '["Cargo.toml"]' | |
| draft: true | |
| # If a draft release was created/updated, build and upload release assets | |
| upload-release-assets: | |
| needs: [draft] | |
| if: fromJSON(needs.draft.outputs.json)['Cargo.toml'] | |
| uses: ./.github/workflows/upload-release-assets.yml | |
| with: | |
| release_id: ${{ fromJSON(needs.draft.outputs.json)['Cargo.toml'].id }} | |
| # If a draft release was created/update, publish the release | |
| releaser: | |
| needs: [draft, upload-release-assets] | |
| if: fromJSON(needs.draft.outputs.json)['Cargo.toml'] | |
| uses: ipdxco/unified-github-workflows/.github/workflows/releaser.yml@v1.0 | |
| with: | |
| sources: '["Cargo.toml"]' | |
| draft: false | |
| secrets: | |
| UCI_GITHUB_TOKEN: ${{ secrets.UCI_GITHUB_TOKEN }} |