-
Notifications
You must be signed in to change notification settings - Fork 17
42 lines (37 loc) · 1.03 KB
/
main.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
name: Build and Publish Latest
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
on:
workflow_dispatch:
push:
branches: [ 'main' ]
paths-ignore:
- 'README.md'
jobs:
test:
uses: ./.github/workflows/test.yml
appimage:
uses: ./.github/workflows/appimage.yml
needs: test
with:
release_type: 'latest'
secrets:
GCP_WORKLOAD_IDENTITY_PROVIDER: ${{ secrets.GCP_WORKLOAD_IDENTITY_PROVIDER }}
GCP_SERVICE_ACCOUNT: ${{ secrets.GCP_SERVICE_ACCOUNT }}
slack-workflow-status:
if: ${{ failure() }}
name: Post Workflow Status To Slack
needs:
- appimage
- test
runs-on: ubuntu-latest
permissions:
actions: 'read'
steps:
- name: Slack Workflow Notification
uses: Gamesight/slack-workflow-status@master
with:
repo_token: ${{secrets.GITHUB_TOKEN}}
slack_webhook_url: ${{secrets.SLACK_WEBHOOK_URL}}
channel: '#team-slam-github-notifs'
name: 'Workflow Status'