Skip to content

Commit

Permalink
update order of steps
Browse files Browse the repository at this point in the history
  • Loading branch information
wildone committed Nov 1, 2019
1 parent 2c999ed commit 8fe16b5
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,13 @@ jobs:
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
- name: get release notes
run: |
source <(curl -sL https://github.com/aem-design/aemdesign-docker/releases/latest/download/github_get_version.sh)
echo "===START==="
echo $GIT_RELEASE_NOTES
echo "====END===="
echo CURRENT_VERSION=$CURRENT_VERSION
- name: set eval variables
run: |
echo ::set-env name=DOCKER_COMMAND::docker run --user $(id -u):$(id -g) -v ${GITHUB_WORKSPACE}:/build ${DOCKER_IMAGE}
Expand All @@ -58,13 +65,6 @@ jobs:
- name: setup gpg
run: |
source <(curl -sL https://github.com/aem-design/aemdesign-docker/releases/latest/download/setup-gpg.sh)
- name: get release notes
run: |
source <(curl -sL https://github.com/aem-design/aemdesign-docker/releases/latest/download/github_get_version.sh)
echo "===START==="
echo $GIT_RELEASE_NOTES
echo "====END===="
echo CURRENT_VERSION=$CURRENT_VERSION
- name: docker - mvn clean (cache .m2 in ./build/.m2/repository in repo dir)
run: $DOCKER_COMMAND mvn clean -DskipTests=true -Dgpg.skip -Dmaven.javadoc.skip=true -Dmaven.source.skip=true -B -P all-modules -Dmaven.repo.local=./build/.m2/repository
- name: docker - mvn package
Expand Down

0 comments on commit 8fe16b5

Please sign in to comment.