Skip to content

Commit eb67bf1

Browse files
committed
Add check_release script
1 parent da0ccb7 commit eb67bf1

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: check_release
2+
3+
on:
4+
workflow_dispatch:
5+
schedule:
6+
- cron: 0 0 * * SUN
7+
8+
jobs:
9+
check_release:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Checkout
13+
uses: actions/checkout@v4
14+
- uses: oprypin/find-latest-tag@v1
15+
with:
16+
repository: verilator/verilator
17+
id: verilator
18+
- uses: oprypin/find-latest-tag@v1
19+
with:
20+
repository: veryl-lang/verilator-package
21+
id: verilator-package
22+
- run: echo "The latest version of verilator is ${{ steps.verilator.outputs.tag }}"
23+
- run: echo "The latest version of verilator-package is ${{ steps.verilator-package.outputs.tag }}"
24+
- name: Add tag
25+
if: ${{ steps.verilator.outputs.tag }} != ${{ steps.verilator-package.outputs.tag }}
26+
uses: rickstaa/action-create-tag@v1
27+
with:
28+
tag: ${{ steps.verilator.outputs.tag }}

0 commit comments

Comments
 (0)