-
Notifications
You must be signed in to change notification settings - Fork 209
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Prevent slack send from failing release build (#2380)
Co-authored-by: Victor Martinez <[email protected]>
- Loading branch information
Showing
1 changed file
with
4 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -97,14 +97,14 @@ jobs: | |
subject-path: "${{ github.workspace }}/${{ env.PREFIX_APM_PROFILER }}${{ steps.bootstrap.outputs.agent-version }}${{ env.SUFFIX_APM_PROFILER }}" | ||
|
||
- name: Attach Profiler And Startup Hooks | ||
continue-on-error: true #continue for now until we see it working in action | ||
env: | ||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
run: | | ||
gh release upload ${{ github.ref_name }} "${{ env.PREFIX_APM_AGENT }}${{ steps.bootstrap.outputs.agent-version }}${{ env.SUFFIX_APM_AGENT }}" "${{ env.PREFIX_APM_PROFILER }}${{ steps.bootstrap.outputs.agent-version }}${{ env.SUFFIX_APM_PROFILER }}" | ||
- if: ${{ success() }} | ||
uses: elastic/oblt-actions/slack/[email protected] | ||
uses: elastic/oblt-actions/slack/send@v1 | ||
continue-on-error: true #continue for now until we see it working in action | ||
with: | ||
bot-token: ${{ secrets.SLACK_BOT_TOKEN }} | ||
channel-id: ${{ env.SLACK_CHANNEL }} | ||
|
@@ -114,7 +114,8 @@ jobs: | |
Release URL: (<https://github.com/elastic/apm-agent-dotnet/releases/tag/${{ github.ref_name }}|${{ github.ref_name }}>) | ||
- if: ${{ failure() }} | ||
uses: elastic/oblt-actions/slack/[email protected] | ||
uses: elastic/oblt-actions/slack/send@v1 | ||
continue-on-error: true #continue for now until we see it working in action | ||
with: | ||
bot-token: ${{ secrets.SLACK_BOT_TOKEN }} | ||
channel-id: ${{ env.SLACK_CHANNEL }} | ||
|
@@ -154,7 +155,6 @@ jobs: | |
- name: Attach Profiler | ||
env: | ||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
continue-on-error: true #continue for now until we see it working in action | ||
run: | | ||
gh release upload ${{ github.ref_name }} "${{ env.PREFIX_ZIP_FILE }}${{ steps.bootstrap.outputs.agent-version }}${{ env.SUFFIX_ZIP_FILE }}" | ||
|