Pixi #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: Documentation | |
on: | |
push: | |
tags: | |
- "[0-9]+.[0-9]+.[0-9]" | |
pull_request: | |
types: | |
- opened | |
- synchronize | |
- reopened | |
jobs: | |
github-release: | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: checkout | |
uses: actions/checkout@v3 | |
with: { submodules: recursive } | |
- uses: prefix-dev/[email protected] | |
with: | |
pixi-version: v0.39.5 | |
- name: Download Artifact | |
uses: actions/download-artifact@v3 | |
- name: digitize | |
shell: pixi run bash -e {0} | |
run: pixi run -e dev convert | |
- name: validate packages | |
shell: pixi run bash -e {0} | |
run: pixi run -e dev validate | |
- name: zip-data | |
shell: bash -l {0} | |
run: | |
zip -r data-${{ github.ref_name }}.zip data/generated | |
- name: Release | |
uses: softprops/action-gh-release@v1 | |
with: | |
files: | | |
data-${{ github.ref_name }}.zip |