-
-
Notifications
You must be signed in to change notification settings - Fork 146
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
15 additions
and
12 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 |
---|---|---|
|
@@ -251,13 +251,6 @@ jobs: | |
name: Leapp-${{ steps.release.outputs.TAG_VERSION }}.dmg | ||
path: packages/desktop-app/release/Leapp-${{ steps.release.outputs.TAG_VERSION }}.dmg | ||
|
||
- name: Upload to Slack | ||
uses: adrey/slack-file-upload-action@master | ||
with: | ||
token: ${{ secrets.SLACK_TOKEN }} | ||
path: packages/desktop-app/release/Leapp-${{ steps.release.outputs.TAG_VERSION }}.dmg | ||
channel: nightly-builds | ||
|
||
build-macos-arm: | ||
runs-on: macos-latest | ||
needs: [ build-and-release-core-and-cli, generate-build-identifier ] | ||
|
@@ -326,9 +319,19 @@ jobs: | |
name: Leapp-${{ steps.release.outputs.TAG_VERSION }}-arm64.dmg | ||
path: packages/desktop-app/release/Leapp-${{ steps.release.outputs.TAG_VERSION }}-arm64.dmg | ||
|
||
- name: Upload to Slack | ||
uses: adrey/slack-file-upload-action@master | ||
post-to-slack: | ||
runs-on: ubuntu-latest | ||
needs: [ build-win, build-linux, build-macos-x64, build-macos-arm ] | ||
steps: | ||
- name: Post to Slack | ||
id: slack | ||
uses: slackapi/[email protected] | ||
with: | ||
token: ${{ secrets.SLACK_TOKEN }} | ||
path: packages/desktop-app/release/Leapp-${{ steps.release.outputs.TAG_VERSION }}-arm64.dmg | ||
channel: nightly-builds | ||
# Slack channel id, channel name, or user id to post message. | ||
# See also: https://api.slack.com/methods/chat.postMessage#channels | ||
# You can pass in multiple channels to post to by providing a comma-delimited list of channel IDs. | ||
channel-id: "C05S4TSQ919" | ||
# For posting a simple plain text message | ||
slack-message: "${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}} approval builds: https://github.com/Noovolari/leapp/actions/runs/${{ github. run_id }}" | ||
env: | ||
SLACK_BOT_TOKEN: ${{ secrets.SLACK_TOKEN }} |