Merge pull request #766 from last-genius/asv/drop-conf-qemu-img #25
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
| name: Create release from tag | |
| on: | |
| push: | |
| tags: | |
| # matches 6.99.0 through 6.99.99, allowing for suffixes | |
| - '6.99.[0-9][0-9]?*' | |
| jobs: | |
| release: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - name: Install opam | |
| uses: ocaml/setup-ocaml@v3 | |
| with: | |
| ocaml-compiler: "4.14.2" | |
| opam-repositories: | | |
| xs-opam: "." | |
| opam-pin: false | |
| dune-cache: true | |
| allow-prerelease-opam: true | |
| - name: Collect licenses | |
| run: ./tools/print-licenses.sh > licenses.txt | |
| - name: Archive upstream libraries | |
| run: make archive | |
| - name: Create Release ${{ github.ref_name }} | |
| run: | | |
| gh release create ${{ github.ref_name }} --repo ${{ github.repository }} --generate-notes \ | |
| licenses.txt xs-opam-repo-${{ github.ref_name }}.tar.gz | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |