From 7a676cd93678ec2a7f7e43d04739feb00fa901fc Mon Sep 17 00:00:00 2001 From: Hubert Quarantel-Colombani Date: Tue, 17 Sep 2024 17:50:21 +0200 Subject: [PATCH] Update workflow (#93) --- .github/workflows/build_all_RPMs.yml | 4 ++-- .github/workflows/stale_issues_PR.yml | 2 +- .github/workflows/validate_selinux_compile.yml | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build_all_RPMs.yml b/.github/workflows/build_all_RPMs.yml index e018d11..874c70f 100644 --- a/.github/workflows/build_all_RPMs.yml +++ b/.github/workflows/build_all_RPMs.yml @@ -40,8 +40,8 @@ jobs: version_from_tag=$( echo "${{ github.ref_name }}" | sed -E 's,^v?([0-9]+\.[0-9]+\.[0-9]+).*$,\1,' ) release_from_tag=$( echo "${{ github.ref_name }}" | sed -E 's,^v?[0-9]+\.[0-9]+\.[0-9]+(-([0-9]+))?.*$,\2,' ) [ -z "${release_from_tag}" ] && release_from_tag=0 - echo "{version}={${version_from_tag}}" >> $GITHUB_OUTPUT - echo "{release}={${release_from_tag}}" >> $GITHUB_OUTPUT + echo "version=${version_from_tag}" >> $GITHUB_OUTPUT + echo "release=${release_from_tag}" >> $GITHUB_OUTPUT build_RPMs: name: Build RPMs and upload them to release diff --git a/.github/workflows/stale_issues_PR.yml b/.github/workflows/stale_issues_PR.yml index 647dc8f..76614ed 100644 --- a/.github/workflows/stale_issues_PR.yml +++ b/.github/workflows/stale_issues_PR.yml @@ -2,7 +2,7 @@ name: Mark stale issues and pull requests on: schedule: - - cron: "30 1 * * *" + - cron: "30 1 * * 1" jobs: stale: diff --git a/.github/workflows/validate_selinux_compile.yml b/.github/workflows/validate_selinux_compile.yml index 3c8c14c..fdbfd6f 100644 --- a/.github/workflows/validate_selinux_compile.yml +++ b/.github/workflows/validate_selinux_compile.yml @@ -111,8 +111,8 @@ jobs: module_vers=a[2] } END { - print "{semodule_name}={"module_name"}" - print "{semodule_vers}={"module_vers"}" + print "semodule_name="module_name + print "semodule_vers="module_vers }' se_module/${SEMODULE}.te >> $GITHUB_OUTPUT add_tag: