From 51f22e7476942f5e421b1b0f76f677048b0196ec Mon Sep 17 00:00:00 2001 From: Mauko Quiroga Date: Tue, 15 Oct 2024 14:35:09 +0200 Subject: [PATCH] ci: upload artifact --- .github/workflows/build.yml | 18 +++++++----------- 1 file changed, 7 insertions(+), 11 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e012fae..a0fa00c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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