Skip to content

Commit

Permalink
build locations and trying out commandbox only build
Browse files Browse the repository at this point in the history
  • Loading branch information
lmajano committed Sep 27, 2023
1 parent 92e9ab4 commit f6fdc37
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,10 @@ jobs:
npm install -g markdownlint-cli
markdownlint changelog.md --fix
box server start serverConfigFile="[email protected]" --debug
ant -DisPreRelease=${{ env.COLDBOX_PRERELEASE }} -Dcoldbox.version=${{ env.COLDBOX_VERSION }} -Dbuild.branch=${{ env.BRANCH }} -Dbuild.number=${{ github.run_number }} -f build/build.xml
box task run build/Build.cfc /
${{ env.COLDBOX_VERSION }} / # version
${{ github.run_number }} / # build number
${{ env.BRANCH }} # branch
- name: Commit Changelog [unreleased] with latest version
uses: EndBug/[email protected]
Expand All @@ -107,7 +110,7 @@ jobs:
with:
name: coldbox-variants
path: |
artifacts/**/*
.artifacts/**/*
changelog.md
- name: Upload Binaries to S3
Expand All @@ -118,7 +121,7 @@ jobs:
AWS_S3_BUCKET: "downloads.ortussolutions.com"
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_ACCESS_SECRET }}
SOURCE_DIR: "artifacts"
SOURCE_DIR: ".artifacts"
DEST_DIR: "ortussolutions"

- name: Upload API Docs to S3
Expand All @@ -129,7 +132,7 @@ jobs:
AWS_S3_BUCKET: "apidocs.ortussolutions.com"
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_ACCESS_SECRET }}
SOURCE_DIR: "build-coldbox/apidocs"
SOURCE_DIR: ".tmp/apidocs"
DEST_DIR: ""

- name: Publish
Expand Down
3 changes: 2 additions & 1 deletion build/Build.cfc
Original file line number Diff line number Diff line change
Expand Up @@ -292,8 +292,9 @@ component {
print.greenLine( "Moving BE artifacts..." ).toConsole();
copy(
"#libArtifactDir#/#arguments.library#-#arguments.version#.zip",
"#variables.artifactsDir#/#arguments.library#-be.zip"
"#variables.artifactsDir#/#arguments.library#/#arguments.library#-be.zip"
);
copy( "#libBuildDir#/box.json", "#variables.artifactsDir#/#arguments.library#/box.json" );
}

/**
Expand Down

0 comments on commit f6fdc37

Please sign in to comment.