Download .github/workflows/zip-release.yml from linuxrun/drop: direct link, hf CLI and curl.
- Browser
- Download file 1.16 kB
-
https://huggingface.co/spaces/linuxrun/drop/resolve/main/.github/workflows/zip-release.yml
- Command line
-
hf download hf://spaces/linuxrun/drop/.github/workflows/zip-release.yml
-
curl -L -o zip-release.yml https://huggingface.co/spaces/linuxrun/drop/resolve/main/.github/workflows/zip-release.yml
1.16 kB
| # This workflow uses actions that are not certified by GitHub. | |
| # They are provided by a third-party and are governed by | |
| # separate terms of service, privacy policy, and support | |
| # documentation. | |
| # GitHub recommends pinning actions to a commit SHA. | |
| # To get a newer version, you will need to update the SHA. | |
| # You can also reference a tag or branch, but the action may change without warning. | |
| # Create a new zip file from pairdrop-cli whenever a new version tag is pushed | |
| name: Zip Release | |
| on: | |
| push: | |
| tags: | |
| - "v*.*.*" | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: write | |
| steps: | |
| - uses: actions/checkout@master | |
| - name: Archive Release | |
| uses: thedoctor0/zip-release@b57d897cb5d60cb78b51a507f63fa184cfe35554 # v0.7.6 | |
| with: | |
| filename: 'pairdrop-cli.zip' | |
| directory: 'pairdrop-cli' | |
| exclusions: '*.git* /*node_modules/* .editorconfig' | |
| - name: Upload Release | |
| uses: ncipollo/release-action@6c75be85e571768fa31b40abf38de58ba0397db5 # v1.13.0 | |
| with: | |
| artifacts: "pairdrop-cli/pairdrop-cli.zip" | |
| token: ${{ secrets.GITHUB_TOKEN }} |