Skip to content

Instantly share code, notes, and snippets.

@josiahhaswell
Created June 16, 2020 18:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save josiahhaswell/09e70fa12fcb5d78690c174d9967cc10 to your computer and use it in GitHub Desktop.
Save josiahhaswell/09e70fa12fcb5d78690c174d9967cc10 to your computer and use it in GitHub Desktop.
- name: Deploy Bills-Of-Materials
run: >-
mvn install deploy -f bom
--settings bom/settings/settings.xml
-Dsunshower-repo.username=${{secrets.MAVEN_REPOSITORY_USERNAME}}
-Dsunshower-repo.password=${{secrets.MAVEN_REPOSITORY_PASSWORD}} -e
- name: Build And Deploy Zephyr Projects
uses: eskatos/gradle-command-action@v1
env:
JAVA_TOOL_OPTIONS: -Duser.language=en -Duser.country=US
with:
gradle-version: 6.0.1
arguments: >-
assemble build sA publish -i
-PmavenRepositoryUsername=${{secrets.MAVEN_REPOSITORY_USERNAME}}
-PmavenRepositoryPassword=${{secrets.MAVEN_REPOSITORY_PASSWORD}}
-PmavenRepositoryUrl=${{secrets.MAVEN_RELEASE_URL}} --stacktrace
################# Deploy Zephyr Maven Plugin #################
#
# build and deploy the zephyr maven plugin.
#
# Note: This must happen after "Build Zephyr Projects" action
#
################# Deploy Zephyr Maven Plugin #################
- name: Deploy Zephyr Maven Plugin
run: >-
mvn install deploy -f tools/zephyr-maven-plugin
--settings bom/settings/settings.xml
-Dsunshower-repo.username=${{secrets.MAVEN_REPOSITORY_USERNAME}}
-Dsunshower-repo.password=${{secrets.MAVEN_REPOSITORY_PASSWORD}} -e
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment