From 84eafbe671f616fcb31c0057b5fbd913d28c7d2d Mon Sep 17 00:00:00 2001 From: lisaac Date: Thu, 6 Feb 2020 22:45:57 +0800 Subject: [PATCH] github action: fix po2lmo --- .github/workflows/build.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ce7b58e..a6a5f69 100755 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -24,10 +24,10 @@ jobs: [ -d $GITHUB_WORKSPACE/htdoc ] && cp -R $GITHUB_WORKSPACE/htdoc/* /tmp/luci-app-diskman/www/ [ -d $GITHUB_WORKSPACE/po ] && sudo -E apt-get -y install gcc make && \ mkdir -p /tmp/po2lmo && mkdir -p /tmp/luci-app-diskman/usr/lib/lua/luci/i18n/ && \ - wget -O /tmp/po2lmo/po2lmo.c https://raw.githubusercontent.com/openwrt/luci/master/modules/luci-base/src/po2lmo.c && \ - wget -O /tmp/po2lmo/Makefile https://raw.githubusercontent.com/openwrt/luci/master/modules/luci-base/src/Makefile && \ - wget -O /tmp/po2lmo/template_lmo.h https://raw.githubusercontent.com/openwrt/luci/master/modules/luci-base/src/template_lmo.h && \ - wget -O /tmp/po2lmo/template_lmo.c https://raw.githubusercontent.com/openwrt/luci/master/modules/luci-base/src/template_lmo.c && \ + wget -O /tmp/po2lmo/po2lmo.c https://raw.githubusercontent.com/openwrt/luci/openwrt-18.06/modules/luci-base/src/po2lmo.c && \ + wget -O /tmp/po2lmo/Makefile https://raw.githubusercontent.com/openwrt/luci/openwrt-18.06/modules/luci-base/src/Makefile && \ + wget -O /tmp/po2lmo/template_lmo.h https://raw.githubusercontent.com/openwrt/luci/openwrt-18.06/modules/luci-base/src/template_lmo.h && \ + wget -O /tmp/po2lmo/template_lmo.c https://raw.githubusercontent.com/openwrt/luci/openwrt-18.06/modules/luci-base/src/template_lmo.c && \ cd /tmp/po2lmo && make po2lmo && \ ./po2lmo $GITHUB_WORKSPACE/po/zh-cn/diskman.po /tmp/luci-app-diskman/usr/lib/lua/luci/i18n/diskman.zh-cn.lmo && \ ./po2lmo $GITHUB_WORKSPACE/po/pl/diskman.po /tmp/luci-app-diskman/usr/lib/lua/luci/i18n/diskman.pl.lmo