Skip to content

Commit

Permalink
Merge pull request #70 from rundeck-plugins/update-gradle
Browse files Browse the repository at this point in the history
update gradle
  • Loading branch information
ltamaster authored Nov 4, 2022
2 parents 3e3e0d9 + adca765 commit 43f0b9f
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@ jobs:
- name: Get Release Version
id: get_version
run: VERSION=$(./gradlew currentVersion -q -Prelease.quiet) && echo ::set-output name=VERSION::$VERSION
- name: Upload docker-container zip
- name: Upload docker zip
uses: actions/[email protected]
with:
# Artifact name
name: docker-container-${{ steps.get_version.outputs.VERSION }}
name: docker-${{ steps.get_version.outputs.VERSION }}
# Directory containing files to upload
path: ./build/libs/docker-container-${{ steps.get_version.outputs.VERSION }}.zip
path: ./build/libs/docker-${{ steps.get_version.outputs.VERSION }}.zip
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps
asset_path: ./build/libs/docker-container-${{ steps.get_version.outputs.VERSION }}.zip
asset_name: docker-container-${{ steps.get_version.outputs.VERSION }}.zip
asset_path: ./build/libs/docker-${{ steps.get_version.outputs.VERSION }}.zip
asset_name: docker-${{ steps.get_version.outputs.VERSION }}.zip
asset_content_type: application/zip

8 changes: 4 additions & 4 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,19 @@ buildscript {
}
}
plugins {
id 'pl.allegro.tech.build.axion-release' version '1.11.0'
id 'pl.allegro.tech.build.axion-release' version '1.13.4'
}

ext.pluginName = 'Docker Plugin'
ext.pluginDescription = "Docker manager plugin"
ext.sopsCopyright = "© 2022, Rundeck, Inc."
ext.sopsUrl = "http://rundeck.com"
ext.buildDateString=new Date().format("yyyy-MM-dd'T'HH:mm:ssX")
ext.archivesBaseName = "docker-container"
ext.archivesBaseName = "docker"
ext.pluginBaseFolder = "."

scmVersion {
ignoreUncommittedChanges = false
ignoreUncommittedChanges = true
tag {
prefix = ''
versionSeparator = ''
Expand All @@ -35,4 +35,4 @@ scmVersion {
project.version = scmVersion.version
ext.archiveFilename = ext.archivesBaseName + '-' + version

apply from: 'https://raw.githubusercontent.com/rundeck-plugins/build-zip/master/build.gradle'
apply from: 'https://raw.githubusercontent.com/rundeck-plugins/build-zip/gradle-5.6/build.gradle'
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-4.7-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-7.4.2-all.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists

0 comments on commit 43f0b9f

Please sign in to comment.