forked from viam-modules/viam-cartographer
-
Notifications
You must be signed in to change notification settings - Fork 0
46 lines (40 loc) · 1.29 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
43
44
45
46
name: Main Branch Update
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
on:
workflow_dispatch:
push:
branches: [ 'main' ]
paths-ignore:
- 'README.md'
tags:
- 'v[0-9]+.[0-9]+.[0-9]+'
- 'v[0-9]+.[0-9]+.[0-9]+-rc[0-9]+'
# To test workflow updates you need to work in a branch directly on viamrobotics/viam-cartographer
# and tag your working branch instead of @main in any viamrobotics/viam-cartographer "uses" below.
# Don't forget to tag back to @main before merge.
jobs:
test:
uses: viamrobotics/viam-cartographer/.github/workflows/test.yml@main
appimage:
needs: test
uses: viamrobotics/viam-cartographer/.github/workflows/appimage.yml@main
secrets:
GCP_CREDENTIALS: ${{ secrets.GCP_CREDENTIALS }}
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'