Skip to content

Add new benchmarks to dataset #14

Add new benchmarks to dataset

Add new benchmarks to dataset #14

Workflow file for this run

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/[email protected]
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
- name: Set next release version
id: taggerFinal
uses: anothrNick/[email protected]
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