Skip to content

Commit

Permalink
release/anemone -> develop (#858)
Browse files Browse the repository at this point in the history
  • Loading branch information
LukasGasior1 authored Mar 1, 2024
2 parents 47b51ad + 8eea5bc commit db1f204
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .github/workflows/add-artifacts-to-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,8 @@ jobs:
if: github.event_name == 'release'
needs:
- build-core-rust
permissions:
contents: write
runs-on: 'ubuntu-latest'
continue-on-error: true
strategy:
Expand Down Expand Up @@ -147,6 +149,8 @@ jobs:
publish-distribution-zip:
if: github.event_name == 'release'
name: Build and Upload Application Binary
permissions:
contents: write
runs-on: ubuntu-22.04
environment: publish-artifacts
steps:
Expand Down
10 changes: 9 additions & 1 deletion core/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -379,6 +379,14 @@ task deb4docker(dependsOn: buildDeb) {
}
}

applicationDistribution.from(new File(project(':keygen').buildDir, "scripts")) {
// This adds the `startScripts` task artifacts from the keygen subproject (i.e. app
// run scripts: `keygen` and `keygen.bat`) to the "bin" folder in core's distribution.
// Note that we don't need to manually add keygen jars (to "libs") - this is taken care of
// by regular dependency management.
applicationDistribution.from(project(":keygen").getTasksByName("startScripts", false).outputs) {
into "bin"
}

// This ensures that keygen scripts are built (and can be copied over to "bin", see above)
// before we assemble core's packages.
[distZip, distTar]*.mustRunAfter ":keygen:startScripts"

0 comments on commit db1f204

Please sign in to comment.