From a1873939de6abf5496245bbb6a906177117f6384 Mon Sep 17 00:00:00 2001 From: David O'Sullivan Date: Fri, 11 Feb 2022 14:52:39 +0000 Subject: [PATCH] Remove tag_filter for matching release assets --- .github/pipeline-descriptor.yml | 3 +-- .github/workflows/create-package.yml | 6 +++--- .github/workflows/tests.yml | 8 ++++---- .github/workflows/update-java-memory-assistant.yml | 5 ++--- .github/workflows/update-pipeline.yml | 2 +- 5 files changed, 11 insertions(+), 13 deletions(-) diff --git a/.github/pipeline-descriptor.yml b/.github/pipeline-descriptor.yml index 239fc99..99feafe 100644 --- a/.github/pipeline-descriptor.yml +++ b/.github/pipeline-descriptor.yml @@ -21,7 +21,6 @@ dependencies: uses: docker://ghcr.io/paketo-buildpacks/actions/github-release-dependency:main with: owner: sap - glob: java-memory-assistant-+..jar + glob: java-memory-assistant-(.+).jar repository: java-memory-assistant - tag_filter: '[\d]+\.[\d]+\.[\d]+' token: ${{ secrets.JAVA_GITHUB_TOKEN }} \ No newline at end of file diff --git a/.github/workflows/create-package.yml b/.github/workflows/create-package.yml index b538c08..bcdf790 100644 --- a/.github/workflows/create-package.yml +++ b/.github/workflows/create-package.yml @@ -18,7 +18,7 @@ jobs: username: _json_key - uses: actions/setup-go@v2 with: - go-version: "1.16" + go-version: "1.17" - name: Install create-package run: | #!/usr/bin/env bash @@ -44,7 +44,7 @@ jobs: "https://github.com/google/go-containerregistry/releases/download/v${CRANE_VERSION}/go-containerregistry_Linux_x86_64.tar.gz" \ | tar -C "${HOME}/bin" -xz crane env: - CRANE_VERSION: 0.6.0 + CRANE_VERSION: 0.8.0 - name: Install pack run: | #!/usr/bin/env bash @@ -63,7 +63,7 @@ jobs: "https://github.com/buildpacks/pack/releases/download/v${PACK_VERSION}/pack-v${PACK_VERSION}-linux.tgz" \ | tar -C "${HOME}"/bin -xz pack env: - PACK_VERSION: 0.21.1 + PACK_VERSION: 0.23.0 - name: Enable pack Experimental if: ${{ false }} run: | diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 7e8fdd6..ad391f2 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -12,7 +12,7 @@ jobs: steps: - uses: actions/setup-go@v2 with: - go-version: "1.16" + go-version: "1.17" - name: Install create-package run: | #!/usr/bin/env bash @@ -38,7 +38,7 @@ jobs: "https://github.com/buildpacks/pack/releases/download/v${PACK_VERSION}/pack-v${PACK_VERSION}-linux.tgz" \ | tar -C "${HOME}"/bin -xz pack env: - PACK_VERSION: 0.21.1 + PACK_VERSION: 0.23.0 - name: Enable pack Experimental if: ${{ false }} run: | @@ -152,7 +152,7 @@ jobs: restore-keys: ${{ runner.os }}-go- - uses: actions/setup-go@v2 with: - go-version: "1.16" + go-version: "1.17" - name: Install richgo run: | #!/usr/bin/env bash @@ -171,7 +171,7 @@ jobs: "https://github.com/kyoh86/richgo/releases/download/v${RICHGO_VERSION}/richgo_${RICHGO_VERSION}_linux_amd64.tar.gz" \ | tar -C "${HOME}"/bin -xz richgo env: - RICHGO_VERSION: 0.3.9 + RICHGO_VERSION: 0.3.10 - name: Run Tests run: | #!/usr/bin/env bash diff --git a/.github/workflows/update-java-memory-assistant.yml b/.github/workflows/update-java-memory-assistant.yml index f98d240..a5555fd 100644 --- a/.github/workflows/update-java-memory-assistant.yml +++ b/.github/workflows/update-java-memory-assistant.yml @@ -11,7 +11,7 @@ jobs: steps: - uses: actions/setup-go@v2 with: - go-version: "1.16" + go-version: "1.17" - name: Install update-buildpack-dependency run: | #!/usr/bin/env bash @@ -44,10 +44,9 @@ jobs: - id: dependency uses: docker://ghcr.io/paketo-buildpacks/actions/github-release-dependency:main with: - glob: java-memory-assistant-+..jar + glob: java-memory-assistant-(.+).jar owner: sap repository: java-memory-assistant - tag_filter: '[\d]+\.[\d]+\.[\d]+' token: ${{ secrets.JAVA_GITHUB_TOKEN }} - name: Update Buildpack Dependency id: buildpack diff --git a/.github/workflows/update-pipeline.yml b/.github/workflows/update-pipeline.yml index 0f5f54f..d6da2f4 100644 --- a/.github/workflows/update-pipeline.yml +++ b/.github/workflows/update-pipeline.yml @@ -16,7 +16,7 @@ jobs: steps: - uses: actions/setup-go@v2 with: - go-version: "1.16" + go-version: "1.17" - name: Install octo run: | #!/usr/bin/env bash