Download wheel/python3.12/torch2.9.0/audiotools/.github/workflows/release.yml from user-7/AI-wheel: direct link, hf CLI and curl.
- Browser
- Download file 1.07 kB
-
https://huggingface.co/user-7/AI-wheel/resolve/main/wheel/python3.12/torch2.9.0/audiotools/.github/workflows/release.yml
- Command line
-
hf download hf://user-7/AI-wheel/wheel/python3.12/torch2.9.0/audiotools/.github/workflows/release.yml
-
curl -L -o release.yml https://huggingface.co/user-7/AI-wheel/resolve/main/wheel/python3.12/torch2.9.0/audiotools/.github/workflows/release.yml
1.07 kB
| on: | |
| push: | |
| branches: | |
| - "master" | |
| workflow_dispatch: | |
| name: Create Release | |
| permissions: | |
| contents: write | |
| jobs: | |
| build: | |
| name: Create Release | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| with: | |
| lfs: true | |
| - name: Retrieve version | |
| run: | | |
| echo "TAG_NAME=$(grep -i -o -P '(?<=version=\")[^\"]+(?=\")' setup.py)" > "$GITHUB_OUTPUT" | |
| id: version | |
| - name: Changelog | |
| uses: scottbrenner/generate-changelog-action@master | |
| id: changelog | |
| - name: Create Release | |
| id: create_release | |
| uses: softprops/action-gh-release@v1 | |
| env: | |
| # This token is provided by Actions, you do not need to create your | |
| # own token | |
| GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} | |
| with: | |
| tag_name: ${{ steps.version.outputs.TAG_NAME }} | |
| name: Release ${{ steps.version.outputs.TAG_NAME }} | |
| body: ${{steps.changelog.outputs.changelog}} | |
| draft: false | |
| prerelease: false | |