Try to fix just test-integration (#260) #136
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: Release-plz | |
| permissions: | |
| pull-requests: write | |
| contents: write | |
| on: | |
| push: | |
| branches: | |
| - main | |
| jobs: | |
| release-plz: | |
| name: Release-plz | |
| runs-on: ubuntu-22.04 | |
| steps: | |
| # Generating a GitHub token, so that PRs and tags created by | |
| # the release-plz-action can trigger actions workflows. | |
| - name: Generate GitHub token | |
| uses: tibdex/github-app-token@v1 | |
| id: generate-token | |
| with: | |
| app_id: ${{ secrets.APP_ID }} | |
| private_key: ${{ secrets.APP_PRIVATE_KEY }} | |
| - name: Checkout repository | |
| uses: actions/checkout@v5 | |
| with: | |
| fetch-depth: 0 | |
| token: ${{ steps.generate-token.outputs.token }} | |
| - name: Install Rust toolchain | |
| uses: dtolnay/rust-toolchain@stable | |
| - name: Install needed Ubuntu Deps | |
| run: sudo apt install libdbus-1-dev pkg-config libudev-dev | |
| - name: clear cache | |
| run: cargo clean | |
| - name: Run release-plz | |
| uses: MarcoIeni/release-plz-action@main | |
| env: | |
| GITHUB_TOKEN: ${{ steps.generate-token.outputs.token }} | |
| CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }} |