Skip to content

Commit

Permalink
github-actions: use v1 for the oblt-actions (#292)
Browse files Browse the repository at this point in the history
  • Loading branch information
v1v authored Nov 28, 2024
1 parent 7ff2b43 commit 478868c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/release-step-3.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ jobs:
steps:
- id: buildkite-run
name: Run Release
uses: elastic/oblt-actions/buildkite/run@v1.5.0
uses: elastic/oblt-actions/buildkite/run@v1
with:
pipeline: ecs-logging-java-release
token: ${{ secrets.BUILDKITE_TOKEN }}
Expand All @@ -85,7 +85,7 @@ jobs:
dry_run=${{ inputs.dry_run || 'false' }}
TARBALL_FILE=${{ env.TARBALL_FILE }}
- uses: elastic/oblt-actions/buildkite/download-artifact@v1.5.0
- uses: elastic/oblt-actions/buildkite/download-artifact@v1
with:
build-number: ${{ steps.buildkite-run.outputs.number }}
path: ${{ env.TARBALL_FILE }}
Expand All @@ -101,15 +101,15 @@ jobs:
subject-path: "${{ github.workspace }}/**/target/*.jar"

- if: ${{ success() }}
uses: elastic/oblt-actions/slack/send@v1.5.0
uses: elastic/oblt-actions/slack/send@v1
with:
bot-token: ${{ secrets.SLACK_BOT_TOKEN }}
channel-id: "#apm-agent-java"
message: |
:runner: [${{ github.repository }}] Release *${{ github.ref_name }}* has been triggered in Buildkite: (<${{ steps.buildkite-run.outputs.build }}|build>)
- if: ${{ failure() }}
uses: elastic/oblt-actions/slack/send@v1.5.0
uses: elastic/oblt-actions/slack/send@v1
with:
bot-token: ${{ secrets.SLACK_BOT_TOKEN }}
channel-id: "#apm-agent-java"
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/snapshot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
steps:
- id: buildkite-run
name: Run Deploy
uses: elastic/oblt-actions/buildkite/run@v1.5.0
uses: elastic/oblt-actions/buildkite/run@v1
with:
pipeline: ecs-logging-java-snapshot
token: ${{ secrets.BUILDKITE_TOKEN }}
Expand All @@ -55,7 +55,7 @@ jobs:
dry_run=${{ inputs.dry_run || 'false' }}
TARBALL_FILE=${{ env.TARBALL_FILE }}
- uses: elastic/oblt-actions/buildkite/download-artifact@v1.5.0
- uses: elastic/oblt-actions/buildkite/download-artifact@v1
with:
build-number: ${{ steps.buildkite-run.outputs.number }}
path: ${{ env.TARBALL_FILE }}
Expand All @@ -71,7 +71,7 @@ jobs:
subject-path: "${{ github.workspace }}/**/target/*.jar"

- if: ${{ failure() }}
uses: elastic/oblt-actions/slack/send@v1.5.0
uses: elastic/oblt-actions/slack/send@v1
with:
bot-token: ${{ secrets.SLACK_BOT_TOKEN }}
channel-id: "#apm-agent-java"
Expand Down

0 comments on commit 478868c

Please sign in to comment.