-
Notifications
You must be signed in to change notification settings - Fork 8
36 lines (32 loc) · 971 Bytes
/
alert_sw.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
name: Alert software on Release
on:
workflow_dispatch:
release:
jobs:
alert_sw:
strategy:
matrix:
repo: ['RapidSilicon/RS_FPGA_PRIMITIVES']
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
ref: ${{ github.sha }}
fetch-depth: '1'
- name: Get name of latest release
id: Release
uses: pozetroninc/github-action-get-latest-release@master
with:
repository: ${{ github.repository }}
token: ${{ secrets.GITHUB_TOKEN }}
excludes: draft
- name: print the release
run: |
echo ${{ steps.Release.outputs.release }}
# - name: Repository Dispatch to Raptor
# uses: peter-evans/[email protected]
# with:
# token: ${{ secrets.NEW_RELEASE }}
# repository: ${{ matrix.repo }}
# event-type: digest_latest_Release
# client-payload: '{"new_release": "${{ steps.Release.outputs.release }}"}'