Skip to content

dep: APPS-942 fix http2 rapid-reset CVE-2023-44487 #82

dep: APPS-942 fix http2 rapid-reset CVE-2023-44487

dep: APPS-942 fix http2 rapid-reset CVE-2023-44487 #82

Workflow file for this run

name: Package
on:
push:
tags:
- '*'
branches:
- build-automation
pull_request:
branches:
- master
workflow_call:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: 17
- name: Install npm
run: sudo apt-get install npm && npm install -g swagger-cli
- name: Cache Gradle packages
uses: actions/cache@v3
with:
path: |
~/.gradle/caches
~/.gradle/wrapper
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
restore-keys: |
${{ runner.os }}-gradle-
- name: Build & Package
run: make package
- name: Upload artifact
uses: actions/upload-artifact@v3
with:
path: target/aerospike-rest-gateway-*.tgz
name: aerospike-rest-gateway-pkg
- name: Cleanup Gradle Cache
# Remove some files from the Gradle cache, so they aren't cached by GitHub Actions.
# Restoring these files from a GitHub Actions cache might cause problems for future builds.
run: |
rm -f ~/.gradle/caches/modules-2/modules-2.lock
rm -f ~/.gradle/caches/modules-2/gc.properties