Skip to content

Commit

Permalink
Fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaelldi committed Jul 10, 2024
1 parent 47d944f commit 2a2a92b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ on:
branches: [ develop ]
# Trigger the workflow on any pull request
pull_request:
branches:
- develop
branches: [ develop ]
types: ['opened', 'reopened', 'synchronize', 'ready_for_review']

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
Expand All @@ -34,6 +34,7 @@ jobs:

# Prepare environment and build the plugin
build-dependencies:
if: github.event.pull_request.draft == false
name: Build Dependencies
runs-on: ubuntu-latest
steps:
Expand Down
8 changes: 6 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ on:
release:
types: [prereleased, released]

env:
# Branches from the https://github.com/microsoft/azure-maven-plugins and https://github.com/microsoft/azure-tools-for-java repositories
ENDGAME_VERSION: endgame-202405

jobs:

# Prepare environment and build the plugin
Expand All @@ -21,7 +25,7 @@ jobs:
uses: actions/checkout@v4
with:
repository: microsoft/azure-maven-plugins
ref: endgame-202403
ref: ${{ env.ENDGAME_VERSION }}
path: azure-maven-plugins

# Check out current repository
Expand Down Expand Up @@ -58,7 +62,7 @@ jobs:
# Upload azure artifacts
- name: Upload azure artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: azure-artifacts
path: /home/runner/.m2/repository/com/microsoft/azure/
Expand Down

0 comments on commit 2a2a92b

Please sign in to comment.