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 ``` diff --git a/action.yml b/action.yml index 487a277..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 @@ -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' }} 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"