feat(pytorch-wheels): proxy index pages (#84) #61
Workflow file for this run
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
| on: | |
| push: | |
| branches: | |
| - release | |
| tags: | |
| - "v*" | |
| name: Release | |
| jobs: | |
| release: | |
| name: Release | |
| runs-on: ubuntu-latest | |
| permissions: | |
| id-token: write # trusted publishing + attestations | |
| actions: write # caching | |
| contents: write # see https://github.com/softprops/action-gh-release#permissions | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v6 | |
| with: | |
| persist-credentials: false | |
| - name: Install Nix | |
| uses: cachix/install-nix-action@51f3067b56fe8ae331890c77d4e454f6d60615ff # v31 | |
| - name: Build static-linked binary with musl | |
| run: nix build .#musl -Lv | |
| - name: Create tar | |
| run: tar -cvzf mirror-intel.tar.gz -C result/bin mirror-intel | |
| - name: Create GitHub release | |
| uses: softprops/action-gh-release@153bb8e04406b158c6c84fc1615b65b24149a1fe # v2 | |
| with: | |
| tag_name: ${{ github.ref_name }} | |
| name: Release ${{ github.ref_name }} | |
| body: ${{ github.event.head_commit.message }} | |
| draft: false | |
| prerelease: true | |
| files: mirror-intel.tar.gz | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |