-
Notifications
You must be signed in to change notification settings - Fork 0
68 lines (66 loc) · 2.11 KB
/
release.yaml
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
name: release
on:
push:
branches: [master, main]
tags: ["*"]
paths-ignore: ['**.md']
workflow_dispatch: #allows manual trigger
concurrency: production
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: '1'
- name: Set up JDK
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '21'
- name: Get next release version (dry run)
id: taggerDryRun
uses: anothrNick/github-tag-action@1.61.0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
WITH_V: true
DRY_RUN: true
- name: echo new tag
run: |
export NEXT_VERSION=${{ steps.taggerDryRun.outputs.new_tag }}
echo "The next tag version will be: $NEXT_VERSION"
- name: echo tag
run: |
echo "The current tag is: ${{ steps.taggerDryRun.outputs.tag }}"
- name: Compile
run: sbt clean stage
- name: Generate Ruby Types
run: ./joern-benchmarks-datasets ALL
- name: Rename
run: |
mv workspace/ichnaea.zip ichnaea.zip
mv workspace/securibench-micro-JAVA.zip securibench-micro-JAVA.zip
mv workspace/securibench-micro-JAVASRC.zip securibench-micro-JAVASRC.zip
mv workspace/thorat.zip thorat.zip
mv workspace/defects4j.zip defects4j.zip
mv workspace/bugs_in_py.zip bugs_in_py.zip
mv workspace/securibench-micro-js.zip securibench-micro-js.zip
- name: Set next release version
id: taggerFinal
uses: anothrNick/github-tag-action@1.61.0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
WITH_V: true
- name: Release
uses: softprops/action-gh-release@v1
with:
tag_name: ${{ steps.taggerDryRun.outputs.new_tag }}
files: |
ichnaea.zip
securibench-micro-JAVA.zip
securibench-micro-JAVASRC.zip
thorat.zip
defects4j.zip
bugs_in_py.zip
securibench-micro-js.zip