We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9baf23e commit a8c8eb4Copy full SHA for a8c8eb4
.github/workflows/main.yml
@@ -26,6 +26,12 @@ jobs:
26
rpm2cpio secvarctl-0.3-7.1.src.rpm | cpio -i
27
rm v0.3.tar.gz
28
ls secvarctl.spec
29
+ - name: Get the version
30
+ id: get_version
31
+ run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\//}
32
+ - env:
33
+ repo_url: $GITHUB_SERVER_URL/$GITHUB_REPOSITORY/archive/$GITHUB_REF.tar.gz
34
+ archive_file: ${{steps.get_version.output.VERSION}}.tar.gz
35
# Runs a set of commands using the runners shell
36
- name: Run a multi-line script
37
run: |
0 commit comments