File tree Expand file tree Collapse file tree 1 file changed +12
-4
lines changed
Expand file tree Collapse file tree 1 file changed +12
-4
lines changed Original file line number Diff line number Diff line change @@ -31,10 +31,18 @@ jobs:
3131 image : mpsq/emacs-native-comp-wayland-builder:latest
3232 options : --user root
3333 steps :
34- - name : Get name
34+ - name : Prepare artifacts
3535 run : |
36- echo "emacs_artifact_name=$(ls /home/pcr)" >> $GITHUB_ENV
36+ cd /home/pcr
37+ mkdir sources
38+ ver=$(ls emacs* | sed -r 's/.*([0-9]{2}\.[0-9]{1,2}\.[0-9]{1,2}\.[0-9]{6}).*/\1/gi')
39+ #git clone ssh://aur@aur.archlinux.org/emacs-gcc-wayland-devel-bin.git
40+ #old_ver=$(cat PKGBUILD | grep "pkgver=" | sed -r 's/pkgver=//')
41+ #[[ "$old_ver" == "$ver" ]] && exit 1
42+ echo "pkg_version=$ver" >> $GITHUB_ENV
43+ tar xf "$(ls emacs*)" -C sources
44+ rm sources/.BUILDINFO sources/.MTREE sources/.PKGINFO
3745 - uses : actions/upload-artifact@v2
3846 with :
39- name : ${{ env.emacs_artifact_name }}
40- path : /home/pcr/${{ env.emacs_artifact_name }}
47+ name : emacs-gcc-wayland-devel- ${{ env.pkg_version }}
48+ path : /home/pcr/sources
You can’t perform that action at this time.
0 commit comments