Skip to content

update artifact path #131

update artifact path

update artifact path #131

Workflow file for this run

name: Upload zip
on:
- push
- pull_request
- workflow_dispatch
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install poetry
run: pipx install poetry
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.13'
cache: 'poetry'
- run: poetry install
- name: Run python script
run: |
poetry run python -m chws_subset
- name: Make release zip
run: |
zip -9 -x "*.git*" -x "chws_subset*" -x "extra*" -x "poetry.lock" -x "pyproject.toml" -r ../notocjk.zip ./
sha256sum ../notocjk.zip > ../notocjk.zip.sha256sum
- name: Release
uses: softprops/action-gh-release@v2
if: startsWith(github.ref, 'refs/tags/')
with:
files: |
../notocjk.zip
../notocjk.zip.sha256sum
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/upload-artifact@v4
with:
name: notocjk
path: ../notocjk.zip