File tree Expand file tree Collapse file tree 1 file changed +14
-6
lines changed
Expand file tree Collapse file tree 1 file changed +14
-6
lines changed Original file line number Diff line number Diff line change @@ -40,23 +40,26 @@ jobs:
4040 needs : check
4141 container :
4242 image : mpsq/emacs-builder:latest
43+ options : --user root
4344 env :
4445 OLD_COMMIT_N : ${{ github.event.inputs.old_commit_n }}
4546 NEW_COMMIT_N : ${{ github.event.inputs.new_commit_n }}
4647 PKG_VERSION : ${{ needs.check.outputs.ver }}
4748 steps :
48- - name : Prepare artifacts
49+ - name : Patch glibc
4950 run : |
50- cd /home/pcr
51-
52- # Get sources
53- ./pull.bash
54-
5551 # Work-around the issue with glibc 2.33 on old Docker engines
5652 # Extract files directly as pacman is also affected by the issue
5753 patched_glibc=glibc-linux4-2.33-4-x86_64.pkg.tar.zst
5854 curl -LO https://repo.archlinuxcn.org/x86_64/$patched_glibc
5955 bsdtar -C / -xvf $patched_glibc
56+ - name : Prepare artifacts
57+ run : |
58+ su - pcr
59+ cd /home/pcr
60+
61+ # Get sources
62+ ./pull.bash
6063
6164 # Create artifacts
6265 makepkg
8386 sed 's/^[^[:alnum:]]*//' | \
8487 # Prepend "- " to the message
8588 sed -r 's/(.*)/- \1/' >> body.md
89+
90+ exit
8691 - name : Create Release
8792 id : create_release
8893 uses : actions/create-release@v1
@@ -109,6 +114,7 @@ jobs:
109114 PRIV_KEY : ${{ secrets.PRIV_KEY }}
110115 PUB_KEY : ${{ secrets.PUB_KEY }}
111116 run : |
117+ su - pcr
112118 cd /home/pcr
113119
114120 # Checksum artifacts
@@ -139,3 +145,5 @@ jobs:
139145 mygit add .SRCINFO PKGBUILD
140146 mygit commit -m "Bump to $PKG_VERSION"
141147 mygit push origin master
148+
149+ exit
You can’t perform that action at this time.
0 commit comments