-
-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d6c1cd3
commit 65d0e60
Showing
1 changed file
with
25 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,20 +17,20 @@ jobs: | |
uses: actions/checkout@v3 | ||
- name: Create tar | ||
id: create_tar | ||
run: >- | ||
echo "::set-output name=TAR_PATH::$( | ||
run: | | ||
echo "TAR_PATH=$( | ||
build-tools/create-tar.sh | ||
)" | ||
)" >> $GITHUB_ENV | ||
- name: Get tar file name | ||
id: tar_name | ||
run: | | ||
echo "::set-output name=TAR_NAME::$( | ||
basename ${{steps.create_tar.outputs.TAR_PATH}} | ||
)" | ||
echo "TAR_NAME=$( | ||
basename ${{env.TAR_PATH}} | ||
)" >> $GITHUB_ENV | ||
- name: Move tar file | ||
run: mv -v ${{steps.create_tar.outputs.TAR_PATH}} ./ | ||
run: mv -v ${{env.TAR_PATH}} ./ | ||
- name: Create md5sum for tar file | ||
run: md5sum ${{steps.tar_name.outputs.TAR_NAME}} | awk '{ print $1}' > ${{steps.tar_name.outputs.TAR_NAME}}.md5sum | ||
run: md5sum ${{env.TAR_NAME}} | awk '{ print $1}' > ${{env.TAR_NAME}}.md5sum | ||
- name: Create OpenSUSE 15 RPM | ||
run: build-tools/OpenSUSE_15/build.sh | ||
- name: Create RHEL 7 RPM | ||
|
@@ -60,31 +60,31 @@ jobs: | |
ls -1 build-tools/Ubuntu_22.04/slurm-mail*.deb | ||
)" >> $GITHUB_ENV | ||
- name: Create md5sum for OpenSUSE 15 RPM | ||
run: md5sum ${{steps.pkg_paths.outputs.OPENSUSE15_RPM}} > ${{steps.pkg_paths.outputs.OPENSUSE15_RPM}}.md5sum | ||
run: md5sum ${{env.OPENSUSE15_RPM}} > ${{env.OPENSUSE15_RPM}}.md5sum | ||
- name: Create md5sum for RHEL 7 RPM | ||
run: md5sum ${{steps.pkg_paths.outputs.RHEL7_RPM}} > ${{steps.pkg_paths.outputs.RHEL7_RPM}}.md5sum | ||
run: md5sum ${{env.RHEL7_RPM}} > ${{env.RHEL7_RPM}}.md5sum | ||
- name: Create md5sum for RHEL 8 RPM | ||
run: md5sum ${{steps.pkg_paths.outputs.RHEL8_RPM}} > ${{steps.pkg_paths.outputs.RHEL8_RPM}}.md5sum | ||
run: md5sum ${{env.RHEL8_RPM}} > ${{env.RHEL8_RPM}}.md5sum | ||
- name: Create md5sum for RHEL 9 RPM | ||
run: md5sum ${{steps.pkg_paths.outputs.RHEL9_RPM}} > ${{steps.pkg_paths.outputs.RHEL9_RPM}}.md5sum | ||
run: md5sum ${{env.RHEL9_RPM}} > ${{env.RHEL9_RPM}}.md5sum | ||
- name: Create md5sum for Ubuntu 22 package | ||
run: md5sum ${{steps.pkg_paths.outputs.UBUNTU22_DEB}} > ${{steps.pkg_paths.outputs.UBUNTU22_DEB}}.md5sum | ||
run: md5sum ${{env.UBUNTU22_DEB}} > ${{env.UBUNTU22_DEB}}.md5sum | ||
- name: GH Release | ||
uses: softprops/[email protected] | ||
if: startsWith(github.ref, 'refs/tags/') | ||
with: | ||
files: | | ||
${{steps.tar_name.outputs.TAR_NAME}} | ||
${{steps.tar_name.outputs.TAR_NAME}}.md5sum | ||
${{steps.pkg_paths.outputs.OPENSUSE15_RPM}} | ||
${{steps.pkg_paths.outputs.OPENSUSE15_RPM}}.md5sum | ||
${{steps.pkg_paths.outputs.RHEL7_RPM}} | ||
${{steps.pkg_paths.outputs.RHEL7_RPM}}.md5sum | ||
${{steps.pkg_paths.outputs.RHEL8_RPM}} | ||
${{steps.pkg_paths.outputs.RHEL8_RPM}}.md5sum | ||
${{steps.pkg_paths.outputs.RHEL9_RPM}} | ||
${{steps.pkg_paths.outputs.RHEL9_RPM}}.md5sum | ||
${{steps.pkg_paths.outputs.UBUNTU22_DEB}} | ||
${{steps.pkg_paths.outputs.UBUNTU22_DEB}}.md5sum | ||
${{env.TAR_NAME}} | ||
${{env.TAR_NAME}}.md5sum | ||
${{env.OPENSUSE15_RPM}} | ||
${{env.OPENSUSE15_RPM}}.md5sum | ||
${{env.RHEL7_RPM}} | ||
${{env.RHEL7_RPM}}.md5sum | ||
${{env.RHEL8_RPM}} | ||
${{env.RHEL8_RPM}}.md5sum | ||
${{env.RHEL9_RPM}} | ||
${{env.RHEL9_RPM}}.md5sum | ||
${{env.UBUNTU22_DEB}} | ||
${{env.UBUNTU22_DEB}}.md5sum | ||
env: | ||
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} |