Skip to content

Commit

Permalink
Update checkout and upload/download artifacts to v4. (#18)
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkJMReynolds-SAG authored Dec 11, 2024
1 parent a47fa1a commit 423b023
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- uses: actions/setup-java@v4
with:
Expand Down Expand Up @@ -40,7 +40,7 @@ jobs:
./gradlew --console plain clean build assemble -x test
- name: Archive aar file
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: 'cumulocity-clients-kotlin-aar'
path: 'build/outputs/aar/*.aar'
Expand All @@ -51,13 +51,13 @@ jobs:
./gradlew --console plain -b build-jar.gradle clean build publish -x test --debug
- name: Archive jar file
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: 'cumulocity-clients-kotlin-jar'
path: 'build/libs/*.jar'

- name: Archive maven repo files
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: 'cumulocity-clients-kotlin-maven'
path: 'build/mavenRepo/*'
10 changes: 5 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ jobs:
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Download version
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: version

Expand All @@ -37,19 +37,19 @@ jobs:
prerelease: false

- name: Download aar artifact
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: cumulocity-clients-kotlin-aar
path: artifacts

- name: Download jar artifact
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: cumulocity-clients-kotlin-jar
path: artifacts

- name: Download mavenRepo
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: cumulocity-clients-kotlin-maven
path: mavenRepo
Expand Down

0 comments on commit 423b023

Please sign in to comment.