forked from microsoft/azure-tools-for-java
-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
63 additions
and
49 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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,63 @@ | ||
# GitHub Actions Workflow is created for testing and preparing the plugin release in the following steps: | ||
# - validate Gradle Wrapper, | ||
# - run 'verifyPlugin' tasks, | ||
# - run 'buildPlugin' task and prepare artifact for the further tests, | ||
# - run 'runPluginVerifier' task, | ||
# - create a draft release. | ||
# | ||
# Workflow is triggered on push and pull_request events. | ||
# | ||
# GitHub Actions reference: https://help.github.com/en/actions | ||
# | ||
## JBIJPPTPL | ||
|
||
name: Build | ||
on: | ||
workflow_dispatch: | ||
# Trigger the workflow on pushes to only the 'main' branch (this avoids duplicate checks being run e.g. for dependabot pull requests) | ||
push: | ||
branches: [ develop.ra/cicd ] | ||
# Trigger the workflow on any pull request | ||
pull_request: | ||
branches: | ||
- develop | ||
|
||
jobs: | ||
|
||
# Prepare environment and build the plugin | ||
build: | ||
name: Build | ||
runs-on: ubuntu-latest | ||
steps: | ||
|
||
# Check out Maven Plugins for Azure Services repository | ||
- name: Fetch Maven Plugins for Azure Services | ||
uses: actions/checkout@v4 | ||
with: | ||
repository: microsoft/azure-maven-plugins | ||
ref: endgame-202310 | ||
path: azure-maven-plugins | ||
|
||
# Check out current repository | ||
- name: Fetch Sources | ||
uses: actions/checkout@v4 | ||
with: | ||
path: azure-tools-for-intellij | ||
|
||
# Setup Java environment for the next steps | ||
- name: Setup Java | ||
uses: actions/setup-java@v3 | ||
with: | ||
distribution: zulu | ||
java-version: | | ||
8 | ||
17 | ||
# Build Maven Plugins for Azure Services library | ||
- name: Build Maven Plugins for Azure Services | ||
run: | | ||
cd ${{ github.workspace }}/azure-maven-plugins | ||
printenv JAVA_HOME_8_x64 | ||
echo "$JAVA_HOME_8_x64 ./mvnw clean install -f azure-toolkit-libs/pom.xml" | ||
$JAVA_HOME_8_x64 ./mvnw clean install -f azure-toolkit-libs/pom.xml | ||
This file was deleted.
Oops, something went wrong.