From d733320e6ef90252c181984f68ac1ea41bb03389 Mon Sep 17 00:00:00 2001 From: Pavel Zwerschke Date: Tue, 20 Feb 2024 10:19:31 +0100 Subject: [PATCH 1/4] Enable GitHub integration for rattler-build --- action.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/action.yml b/action.yml index 487a277..e0c1373 100644 --- a/action.yml +++ b/action.yml @@ -65,11 +65,15 @@ runs: if: ${{ runner.os != 'Windows' }} run: | rattler-build build --recipe "${{ inputs.recipe-path }}" ${{ inputs.build-args }} + env: + RATTLER_BUILD_ENABLE_GITHUB_INTEGRATION: 'true' - name: Build conda package (Windows) shell: powershell if: ${{ runner.os == 'Windows' }} run: | rattler-build build --recipe "${{ inputs.recipe-path }}" ${{ inputs.build-args }} + env: + RATTLER_BUILD_ENABLE_GITHUB_INTEGRATION: 'true' - name: Upload build artifacts uses: actions/upload-artifact@v4 if: ${{ inputs.upload-artifact == 'true' }} From 24c0a280baeb0905ea47e80905167106866575e3 Mon Sep 17 00:00:00 2001 From: Pavel Zwerschke Date: Tue, 20 Feb 2024 14:28:45 +0100 Subject: [PATCH 2/4] 0.11.0 --- action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/action.yml b/action.yml index e0c1373..aed848c 100644 --- a/action.yml +++ b/action.yml @@ -8,7 +8,7 @@ inputs: rattler-build-version: description: Version of rattler-build to use required: false - default: 'v0.10.0' + default: 'v0.11.0' recipe-path: description: Path to the recipe.yaml file required: true From 0db7637b1358333de453946fad427fdc826c0078 Mon Sep 17 00:00:00 2001 From: Pavel Zwerschke Date: Tue, 20 Feb 2024 14:30:31 +0100 Subject: [PATCH 3/4] bump version --- project.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/project.toml b/project.toml index 1663d82..181e9f0 100644 --- a/project.toml +++ b/project.toml @@ -1 +1 @@ -version = "0.1.1" +version = "0.2.0" From 5bd1452912352cd9ae655a8531ca4986ac48e89b Mon Sep 17 00:00:00 2001 From: Pavel Zwerschke Date: Tue, 20 Feb 2024 14:30:50 +0100 Subject: [PATCH 4/4] bump version --- README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 7027f1a..3c9033c 100644 --- a/README.md +++ b/README.md @@ -36,11 +36,11 @@ jobs: steps: - uses: actions/checkout@v4 - name: Build conda package - uses: prefix-dev/rattler-build-action@v0.1.1 + uses: prefix-dev/rattler-build-action@v0.2.0 ``` > [!WARNING] -> Since rattler-build is still experimental and the API can change in minor versions, please pin this action to its minor version, i.e., `prefix-dev/rattler-build-action@v0.1.1`. +> Since rattler-build is still experimental and the API can change in minor versions, please pin this action to its minor version, i.e., `prefix-dev/rattler-build-action@v0.2.0`. > [!TIP] > You can use dependabot to automatically update the version of `rattler-build-action`. Add the following to your `.github/dependabot.yml`: @@ -100,7 +100,7 @@ jobs: steps: - uses: actions/checkout@v4 - name: Build conda package - uses: prefix-dev/rattler-build-action@v0.1.1 + uses: prefix-dev/rattler-build-action@v0.2.0 with: # needs to be unique for each matrix entry artifact-name: package-${{ matrix.target-platform }} @@ -117,7 +117,7 @@ jobs: steps: - uses: actions/checkout@v4 - name: Build conda package - uses: prefix-dev/rattler-build-action@v0.1.1 + uses: prefix-dev/rattler-build-action@v0.2.0 - run: | for pkg in $(find output -type f \( -name "*.conda" -o -name "*.tar.bz2" \) ); do echo "Uploading ${pkg}" @@ -147,7 +147,7 @@ jobs: echo '{"my.quetz.server": {"CondaToken": "${{ secrets.QUETZ_API_KEY }}"}}' > "$RATTLER_AUTH_FILE" echo "RATTLER_AUTH_FILE=$RATTLER_AUTH_FILE" >> "$GITHUB_ENV" - name: Build conda package - uses: prefix-dev/rattler-build-action@v0.1.1 + uses: prefix-dev/rattler-build-action@v0.2.0 with: build-args: -c conda-forge -c https://my.quetz.server/get/my-channel ```