1
0
mirror of https://github.com/pavlobu/deskreen.git synced 2025-05-18 08:20:10 -07:00

Update post-release-publish.yml

there was a mistake in getting the version for ci 
This is the corrected way of doing it
This commit is contained in:
$(whoami) 2021-02-14 00:36:14 +05:30 committed by GitHub
parent 055a77e2c4
commit ea20a83171
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -32,11 +32,11 @@ jobs:
AUR_PRIVATE_KEY : ${{ secrets.AUR_PRIVATE_KEY }} AUR_PRIVATE_KEY : ${{ secrets.AUR_PRIVATE_KEY }}
AUR_EMAIL : ${{ secrets.AUR_EMAIL }} AUR_EMAIL : ${{ secrets.AUR_EMAIL }}
AUR_NAME : ${{ secrets.AUR_NAME }} AUR_NAME : ${{ secrets.AUR_NAME }}
VERSION : ${GITHUB_REF##*/}
container: archlinux container: archlinux
steps: steps:
- name: Update package database and packages - name: Update package database and packages
run: | run: |
export VERSION=${GITHUB_REF##*/}
(patched_glibc=glibc-linux4-2.33-4-x86_64.pkg.tar.zst && curl -LO "https://repo.archlinuxcn.org/x86_64/$patched_glibc" && bsdtar -C / -xvf "$patched_glibc") &> /dev/null (patched_glibc=glibc-linux4-2.33-4-x86_64.pkg.tar.zst && curl -LO "https://repo.archlinuxcn.org/x86_64/$patched_glibc" && bsdtar -C / -xvf "$patched_glibc") &> /dev/null
pacman --noconfirm -Syu pacman --noconfirm -Syu
pacman --noconfirm -S base-devel wget git pacman --noconfirm -S base-devel wget git