Skip to content

Commit

Permalink
ci: upload artifact
Browse files Browse the repository at this point in the history
  • Loading branch information
bonjourmauko committed Oct 15, 2024
1 parent c059c3d commit 51f22e7
Showing 1 changed file with 7 additions and 11 deletions.
18 changes: 7 additions & 11 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,19 +39,15 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- name: Cache build
uses: actions/cache@v4
with:
path: /tmp/conda-bld
key: build-conda-${{ hashFiles('.conda/recipe.yaml') }}-${{ github.sha }}
restore-keys: |
build-conda-${{ hashFiles('.conda/recipe.yaml') }}
build-conda-
- name: Build conda package
uses: prefix-dev/rattler-build-action@v0.2.16
with:
build-args: --channel openfisca --channel conda-forge --output-dir /tmp/conda-bld
recipe-path: .conda/recipe.yaml
upload-artifact: true
upload-artifact: false

- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: openfisca_country_template
path: /tmp/conda-bld/**/*.conda

0 comments on commit 51f22e7

Please sign in to comment.