Skip to content

Commit 454a1f4

Browse files
authored
Update main.yml
1 parent e7f2ac9 commit 454a1f4

File tree

1 file changed

+3
-19
lines changed

1 file changed

+3
-19
lines changed

.github/workflows/main.yml

Lines changed: 3 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -7,20 +7,6 @@ env:
77
# Use docker.io for Docker Hub if empty
88
REGISTRY: ghcr.io
99
IMAGE_NAME: ${{ github.repository }}
10-
# MANYLINUX_TAG: "2022-10-25-fbea779"
11-
# github.repository as <account>/<repo>
12-
# PYTHON_VERSION: "3.7"
13-
# PYTHON_SHORT_VERSION: "cp37-cp37m"
14-
# PYTHON_FULL_VERSION: "3.7.13"
15-
# QT_VERSION_MAJOR: "5"
16-
# QT_VERSION_MINOR: "15"
17-
# QT_VERSION_PATCH: "2"
18-
# QT_VERSION: "5.15"
19-
# QT_FULL_VERSION: "5.15.2"
20-
# PYSIDE_VERSION: "2"
21-
# LLVM_VERSION: "14.0.6"
22-
# GCC_VERSION: "10.1.0"
23-
2410

2511
jobs:
2612

@@ -29,7 +15,6 @@ jobs:
2915
runs-on: ubuntu-latest
3016

3117
steps:
32-
3318
- name: Checkout code
3419
uses: actions/checkout@v3
3520
- name: Free Disk Space (Ubuntu)
@@ -51,8 +36,7 @@ jobs:
5136

5237
- name: Extract package and version number from docker iamge
5338
id: extract
54-
shell: bash
55-
run: dockerImage="aymara/qhttpserver-ubuntu22.04:build" \
39+
run: bash -c 'dockerImage="aymara/qhttpserver-ubuntu22.04:build" \
5640
&& id=$(docker run -d "$dockerImage" sleep infinity) \
5741
&& echo -n "export fullname=/usr/share/apps/qhttpserver/packages/" > ./envFile \
5842
&& docker exec $id ls /usr/share/apps/qhttpserver/packages/ >> ./envFile \
@@ -64,9 +48,9 @@ jobs:
6448
&& echo "::set-output name=version::$(. envFile && echo $version)"
6549
&& . envFile && docker cp $id:$fullname - > ./$filename \
6650
&& docker stop $id \
67-
&& docker rm -v $id
51+
&& docker rm -v $id'
6852

69-
- name: release
53+
- name: Create release
7054
uses: actions/create-release@v1
7155
id: create_release
7256
with:

0 commit comments

Comments
 (0)