Skip to content

Commit a8c8eb4

Browse files
hmmm [skip ci]
1 parent 9baf23e commit a8c8eb4

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/main.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,12 @@ jobs:
2626
rpm2cpio secvarctl-0.3-7.1.src.rpm | cpio -i
2727
rm v0.3.tar.gz
2828
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
2935
# Runs a set of commands using the runners shell
3036
- name: Run a multi-line script
3137
run: |

0 commit comments

Comments
 (0)