Skip to content

Commit

Permalink
Merge pull request #84 from opencb/TASK-5696
Browse files Browse the repository at this point in the history
TASK-5696 - Migrate GitHub Actions to v4
  • Loading branch information
juanfeSanahuja authored Mar 25, 2024
2 parents d0ddc15 + 5ab5918 commit 4bcd3c1
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 12 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build-java-app-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ jobs:
outputs:
version: ${{ steps.get_project_version.outputs.version }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: '10'
- name: Set up JDK 8
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '8'
Expand All @@ -35,7 +35,7 @@ jobs:
fi
- name: Maven Build (skip tests)
run: mvn -T 2 clean install -DskipTests ${{ inputs.maven_opts }}
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: build-folder
path: build
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/deploy-docker-hub-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,12 @@ jobs:
runs-on: ubuntu-22.04
steps:
- name: "Checkout optional repo"
uses: actions/checkout@v3
uses: actions/checkout@v4
if: inputs.repository != '' && inputs.branch != ''
with:
repository: ${{ inputs.repository }}
ref: ${{ inputs.branch }}
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: build-folder
path: build
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/deploy-maven-repository-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@ jobs:
name: Deploy to Maven and GitHub Packages
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: '10'
- name: Set up JDK 8
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '8'
Expand All @@ -43,7 +43,7 @@ jobs:
MAVEN_NEXUS_PASSWORD: ${{ secrets.MAVEN_NEXUS_PASSWORD }}
MAVEN_GPG_PASSPHRASE: ${{ secrets.MAVEN_GPG_PASSPHRASE }}
- name: Set up Java for publishing to GitHub Packages
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '8'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy-python-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
name: Deploy Python package in PyPI
runs-on: ubuntu-22.04
steps:
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
if: ${{ inputs.artifact }}
with:
name: ${{ inputs.artifact }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-github-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
name: Create GitHub Release
runs-on: ubuntu-22.04
steps:
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
if: ${{ inputs.artifact }}
with:
name: ${{ inputs.artifact }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ jobs:
name: Test and push Sonar analysis
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: '0'
- name: Set up JDK 11
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '11'
Expand Down

0 comments on commit 4bcd3c1

Please sign in to comment.