Skip to content

Commit

Permalink
HPCC4J-674 Removed deprecated feature from GithubAction
Browse files Browse the repository at this point in the history
- Removed the set-output action from our github actions

Signed-off-by: James McMullan [email protected]
  • Loading branch information
jpmcmu committed Jan 7, 2025
1 parent 6abcb06 commit 6059a09
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions .github/workflows/baremetal-regression-suite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -129,11 +129,17 @@ jobs:
latestVersionStr = ".".join(map(str, latestVersion))
latestVersionURL = 'https://cdn.hpccsystems.com/releases/CE-Candidate-' + latestVersionStr \
+ '/bin/platform/hpccsystems-platform-community_' + latestVersionStr + '-1jammy_amd64_withsymbols.deb'
print(f"::set-output name=previousVersion::{previousVersionStr}")
print(f"::set-output name=previousVersionURL::{previousVersionURL}")
print(f"::set-output name=latestVersion::{latestVersionStr}")
print(f"::set-output name=latestVersionURL::{latestVersionURL}")
github_env_path = os.getenv('GITHUB_ENV')
if github_env_path:
with open(github_env_path, 'a') as env_file:
env_file.write(f"previousVersion={previous_version_str}\n")
env_file.write(f"previousVersionURL={previous_version_url}\n")
env_file.write(f"latestVersion={latest_version_str}\n")
env_file.write(f"latestVersionURL={latest_version_url}\n")
else:
print('GITHUB_ENV environment variable is not set.')
return None
- name: Install latest version
run: |
Expand Down

0 comments on commit 6059a09

Please sign in to comment.