Merge pull request #708 from psafont/missing-tests #9
Workflow file for this run
This file contains 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: | |
- '6.*' | |
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 }} |