Merge pull request #677 from robhoes/master #3
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@v3 | |
with: | |
fetch-depth: 0 | |
- name: Install opam | |
run: sudo apt-get install -y opam | |
- 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 }} |