Skip to content

Commit

Permalink
ci: create archives for setup scripts and migration tool
Browse files Browse the repository at this point in the history
  • Loading branch information
Dominick Leppich committed Aug 27, 2024
1 parent 0a4be19 commit 5ad361f
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 4 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/develop-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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')"
Expand All @@ -45,5 +53,5 @@ jobs:
files: |
module-*/target/*.jar
module-core/src/main/resources/application.properties
install/*
migration/**
setup-scripts.zip
migration-tool.zip
12 changes: 10 additions & 2 deletions .github/workflows/release-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -38,5 +46,5 @@ jobs:
files: |
module-*/target/*.jar
module-core/src/main/resources/application.properties
install/*
migration/**
setup-scripts.zip
migration-tool.zip

0 comments on commit 5ad361f

Please sign in to comment.