Release Droid - Prepare Original Checksum #27
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Release Droid - Prepare Original Checksum | |
on: | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout the repository | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 1 | |
- name: Set up JDKs | |
uses: actions/setup-java@v4 | |
with: | |
distribution: "temurin" | |
java-version: | | |
11 | |
17 | |
cache: "maven" | |
- name: Set up Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: "1.22" | |
id: go | |
- name: Prepare testing extension | |
run: cd ./extension-manager-integration-test-java/testing-extension && npm ci | |
- name: Enable testcontainer reuse | |
run: echo 'testcontainers.reuse.enable=true' > "$HOME/.testcontainers.properties" | |
- name: Run tests and build with Maven | |
run: mvn --batch-mode clean verify --file pom.xml | |
- name: Prepare checksum | |
run: find ./*/target -maxdepth 1 -name "*.jar" -exec sha256sum "{}" + > original_checksum | |
- name: Upload checksum to the artifactory | |
uses: actions/upload-artifact@v2 | |
with: | |
name: original_checksum | |
retention-days: 5 | |
path: original_checksum |