-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'dev' of github.com:MontiCore/object-diagram into dev
- Loading branch information
Showing
11 changed files
with
152 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
# (c) https://github.com/MontiCore/monticore | ||
name: Gradle | ||
|
||
|
||
concurrency: # run this test workflow only once per "branch" | ||
group: ${{ github.repository }}-${{ github.workflow }}-${{ github.ref }} | ||
cancel-in-progress: true | ||
|
||
on: | ||
push: # run this test pipeline on every push | ||
pull_request: # and pull request | ||
repository_dispatch: # and on request of upstream projects | ||
types: [ trigger_after_upstream_deploy ] | ||
|
||
|
||
env: | ||
GRADLE_VERSION: 7.4 # Gradle version used | ||
GRADLE_CLI_OPTS: "-Pci -PgenTR=false --max-workers=4 -PgenTagging=true --build-cache " # CLI options passed to Gradle | ||
|
||
permissions: | ||
contents: read # This action may run somewhat unsafe code | ||
|
||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-20.04 | ||
steps: | ||
- name: Checkout project sources | ||
uses: actions/checkout@v3 | ||
- name: Gradle build | ||
uses: gradle/actions/setup-gradle@v3 | ||
with: | ||
gradle-version: ${{env.GRADLE_VERSION}} | ||
arguments: build ${{env.GRADLE_CLI_OPTS}} | ||
|
||
deploy: | ||
permissions: | ||
packages: write | ||
runs-on: ubuntu-20.04 | ||
needs: build | ||
if: github.ref == 'refs/heads/dev' | ||
steps: | ||
- name: Checkout project sources | ||
uses: actions/checkout@v3 | ||
- name: Gradle publish | ||
uses: gradle/actions/setup-gradle@v3 | ||
with: | ||
gradle-version: ${{env.GRADLE_VERSION}} | ||
arguments: publish ${{env.GRADLE_CLI_OPTS}} -PmavenPassword=${{ secrets.SE_NEXUS_PASSWORD }} -PmavenUser=${{ secrets.SE_NEXUS_USER }} | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
{ | ||
"generated-using": "www.MontiCore.de technology", | ||
"package": "examples", | ||
"name": "A", | ||
"symbols": [ | ||
{ | ||
"kind": "de.monticore.symbols.basicsymbols._symboltable.TypeSymbol", | ||
"name": "A" | ||
}, | ||
{ | ||
"kind": "de.monticore.symbols.basicsymbols._symboltable.TypeSymbol", | ||
"name": "B" | ||
} | ||
] | ||
} |