diff --git a/.github/workflows/develop-build.yml b/.github/workflows/develop-build.yml index 15a2b59..2005d1f 100644 --- a/.github/workflows/develop-build.yml +++ b/.github/workflows/develop-build.yml @@ -27,6 +27,14 @@ jobs: ${{ runner.os }}-maven- - name: Build with Maven run: mvn clean verify -U -P snapshot-build + - name: Create ZIP archive for migration tool + uses: montudor/action-zip@v1 + with: + args: zip -qq -r migration-tool.zip migration + - name: Create ZIP archive for setup scripts + uses: montudor/action-zip@v1 + with: + args: zip -qq -r setup-scripts.zip install - name: Get current date id: date run: echo "::set-output name=date::$(date +'%Y-%m-%d %H:%M:%S %Z')" @@ -45,5 +53,5 @@ jobs: files: | module-*/target/*.jar module-core/src/main/resources/application.properties - install/* - migration/** + setup-scripts.zip + migration-tool.zip diff --git a/.github/workflows/release-build.yml b/.github/workflows/release-build.yml index f89d868..1611dae 100644 --- a/.github/workflows/release-build.yml +++ b/.github/workflows/release-build.yml @@ -27,6 +27,14 @@ jobs: ${{ runner.os }}-maven- - name: Build with Maven run: mvn clean verify -U -P release-build + - name: Create ZIP archive for migration tool + uses: montudor/action-zip@v1 + with: + args: zip -qq -r migration-tool.zip migration + - name: Create ZIP archive for setup scripts + uses: montudor/action-zip@v1 + with: + args: zip -qq -r setup-scripts.zip install - name: Release id: create_release uses: softprops/action-gh-release@v2 @@ -38,5 +46,5 @@ jobs: files: | module-*/target/*.jar module-core/src/main/resources/application.properties - install/* - migration/** + setup-scripts.zip + migration-tool.zip