Skip to content

Commit

Permalink
update upload-artifact
Browse files Browse the repository at this point in the history
  • Loading branch information
gschueler committed Dec 12, 2024
1 parent bc66ba6 commit 8cd8e47
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/dependencyCheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
run: chmod +x gradlew
- name: Build with Gradle
run: ./gradlew dependencyCheckAggregate -Porg.gradle.dependency.verification.console=verbose --dependency-verification lenient
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
if: failure()
with:
name: dependency-check-reports
Expand Down
18 changes: 9 additions & 9 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
run: chmod +x gradlew
- name: Build with Gradle
run: ./gradlew build -Porg.gradle.dependency.verification.console=verbose --dependency-verification strict
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
if: failure()
with:
name: dependency-verification
Expand Down Expand Up @@ -70,7 +70,7 @@ jobs:
run: ./gradlew build --dependency-verification off
- name: Integration tests
run: ./gradlew integrationTest --dependency-verification off
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
if: failure()
with:
name: integration-test-report
Expand All @@ -86,49 +86,49 @@ jobs:
id: get_rpm_version
run: VERSION=$(./gradlew currentVersion -q -Prelease.quiet --dependency-verification off | sed 's/-/./') && echo ::set-output name=VERSION::$VERSION
- name: Upload zip
uses: actions/upload-artifact@v3.1.2
uses: actions/upload-artifact@v4
with:
# Artifact name
name: rd-${{ steps.get_version.outputs.VERSION }}.zip
# Directory containing files to upload
path: rd-cli-tool/build/distributions/rd-${{ steps.get_version.outputs.VERSION }}.zip
- name: Upload rpm
uses: actions/upload-artifact@v3.1.2
uses: actions/upload-artifact@v4
with:
# Artifact name
name: rundeck-cli-${{ steps.get_rpm_version.outputs.VERSION }}-1.noarch.rpm
# Directory containing files to upload
path: rd-cli-tool/build/distributions/rundeck-cli-${{ steps.get_rpm_version.outputs.VERSION }}-1.noarch.rpm
- name: Upload deb
uses: actions/upload-artifact@v3.1.2
uses: actions/upload-artifact@v4
with:
# Artifact name
name: rundeck-cli_${{ steps.get_rpm_version.outputs.VERSION }}-1_all.deb
# Directory containing files to upload
path: rd-cli-tool/build/distributions/rundeck-cli_${{ steps.get_rpm_version.outputs.VERSION }}-1_all.deb
- name: Upload deb-basic
uses: actions/upload-artifact@v3.1.2
uses: actions/upload-artifact@v4
with:
# Artifact name
name: rundeck.deb
# Directory containing files to upload
path: rd-cli-tool/build/distributions/rundeck-cli_${{ steps.get_rpm_version.outputs.VERSION }}-1_all.deb
- name: Upload all-jar
uses: actions/upload-artifact@v3.1.2
uses: actions/upload-artifact@v4
with:
# Artifact name
name: rundeck-cli-${{ steps.get_version.outputs.VERSION }}-all.jar
# Directory containing files to upload
path: rd-cli-tool/build/libs/rundeck-cli-${{ steps.get_version.outputs.VERSION }}-all.jar
- name: Upload api-lib
uses: actions/upload-artifact@v3.1.2
uses: actions/upload-artifact@v4
with:
# Artifact name
name: rd-api-client-${{ steps.get_version.outputs.VERSION }}.jar
# Directory containing files to upload
path: rd-api-client/build/libs/rd-api-client-${{ steps.get_version.outputs.VERSION }}.jar
- name: Upload rd-cli-lib
uses: actions/upload-artifact@v3.1.2
uses: actions/upload-artifact@v4
with:
# Artifact name
name: rd-cli-lib-${{ steps.get_version.outputs.VERSION }}.jar
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-signing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
RUNDECK_SIGNING_PASSWORD: ${{ secrets.SIGNING_PASSWORD }}
RUNDECK_SIGNING_KEYID: [email protected]
- name: Upload artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
# Directory containing files to upload
path: |
Expand Down

0 comments on commit 8cd8e47

Please sign in to comment.