You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This change initializes a build based on Github Actions with the following concepts:
- Only the master branch and pull requests are built
- All previous build functionality, including the generated library index generation is added
- Github packages are not updated from a pull request build
run: echo $(git diff -- sysml.library/.index.json) | grep -e '^$' || (echo "Library index in the git repository is not up to date. Please re-generate it and push changes to the repository."; exit 1)
40
+
- name: Publish to Github Packages
41
+
if: github.event_name != 'pull_request'
42
+
run: ./mvnw -B deploy -DskipTests=true
43
+
env:
44
+
GITHUB_TOKEN: ${{ github.token }} # GITHUB_TOKEN is the default env for the password
0 commit comments