Skip to content

Commit ec1dca3

Browse files
that didnt work [skip ci]
1 parent 6ad7bc4 commit ec1dca3

File tree

1 file changed

+11
-22
lines changed

1 file changed

+11
-22
lines changed

.github/workflows/main.yml

Lines changed: 11 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -19,28 +19,17 @@ jobs:
1919

2020
# Steps represent a sequence of tasks that will be executed as part of the job
2121
steps:
22+
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
2223
- uses: actions/checkout@v2
23-
- name: install rpm tools cpio and wget
24-
run: sudo apt install rpm cpio wget
25-
- name: get src.rpm from old SUSE release
26-
run: wget https://download.opensuse.org/repositories/home:/nchild/openSUSE_Tumbleweed/src/secvarctl-0.3-7.1.src.rpm
27-
- name: extract spec file from source rpm
28-
run: |
29-
rpm2cpio secvarctl-0.3-7.1.src.rpm | cpio -i
30-
rm v0.3.tar.gz
31-
ls secvarctl.spec
32-
- name: Get the version
33-
id: get_version
34-
run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\//}
35-
- env:
36-
repo_url: $GITHUB_SERVER_URL/$GITHUB_REPOSITORY/archive/$GITHUB_REF.tar.gz
37-
archive_file: ${{steps.get_version.output.VERSION}}.tar.gz
38-
- name: get release archives
39-
run: |
40-
wget $repo_url
41-
ls $archive_file
42-
- name: configure spec file for specific release
24+
25+
# Runs a single command using the runners shell
26+
- name: Run a one-line script
27+
run: echo Hello, world!
28+
29+
# Runs a set of commands using the runners shell
30+
- name: Run a multi-line script
4331
run: |
44-
sed -i s/0.3/${{steps.get_version.output.VERSION}}/g secvarctl.spec
45-
cat secvarctl.spec
32+
echo Add other actions to build,
33+
echo test, and deploy your project.
34+
4635

0 commit comments

Comments
 (0)