Fix panic in presence of unsized types. #36
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 Trunk | |
| on: | |
| push: | |
| branches: | |
| - main | |
| workflow_dispatch: | |
| jobs: | |
| version: | |
| runs-on: ubuntu-22.04 | |
| outputs: | |
| version: ${{ steps.compute.outputs.version }} | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Compute trunk version string | |
| id: compute | |
| run: | | |
| SHORT=$(git rev-parse --short HEAD) | |
| FIRST_LINE=$(git log -1 --format=%s) | |
| echo "version=trunk - $SHORT - $FIRST_LINE" >> "$GITHUB_OUTPUT" | |
| build: | |
| needs: version | |
| uses: ./.github/workflows/ci.yml | |
| with: | |
| version: ${{ needs.version.outputs.version }} | |
| release: | |
| needs: build | |
| runs-on: ubuntu-22.04 | |
| permissions: | |
| contents: write | |
| steps: | |
| - name: Download release bundle artifact | |
| uses: actions/download-artifact@v4 | |
| with: | |
| name: co2-multicall-linux-x86_64 | |
| - name: Download CE bundle artifact | |
| uses: actions/download-artifact@v4 | |
| with: | |
| name: co2-ce-linux-x86_64 | |
| - name: Upload to trunk release | |
| uses: ncipollo/release-action@v1 | |
| with: | |
| tag: trunk | |
| name: trunk | |
| allowUpdates: true | |
| omitBodyDuringUpdate: true | |
| omitPrereleaseDuringUpdate: true | |
| replacesArtifacts: true | |
| artifacts: "co2-multicall.run,co2-ce.tar.zstd" | |
| token: ${{ secrets.GITHUB_TOKEN }} |