Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
makeding committed Sep 27, 2024
1 parent 8ac2fef commit bda8f17
Showing 1 changed file with 15 additions and 2 deletions.
17 changes: 15 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,25 @@ jobs:
- uses: actions/checkout@v4
with:
path: 'huggy/luci-app-fleth'
- uses: actions/checkout@v4
with:
repository: 'openwrt-dev/po2lmo'
ref: 'db656750ab032f3056d329c5e727a10af9ba15dd'
path: 'huggy/luci-app-fleth/po2lmo'
- name: 'Make po2lmo'
run: 'cd $GITHUB_WORKSPACE/huggy/luci-app-fleth/po2lmo && make'
- name: 'Manual convert i18n file'
run: |
mkdir -p $GITHUB_WORKSPACE/huggy/luci-app-fleth/root/usr/lib/lua/luci/i18n
$GITHUB_WORKSPACE/huggy/luci-app-fleth/po2lmo/src/po2lmo $GITHUB_WORKSPACE/huggy/luci-app-fleth/po/ja/fleth.po $GITHUB_WORKSPACE/huggy/luci-app-fleth/root/usr/lib/lua/luci/i18n/fleth.ja.lmo
- name: Build
uses: openwrt/gh-action-sdk@main
env:
ARCH: x86_64-22.03.2
PACKAGES: luci-app-fleth
FEEDNAME: huggy
NO_REFRESH_CHECK: true
- name: ls packages
run: ls bin/packages/x86_64/huggy/
- uses: actions/upload-artifact@v4
with:
path: bin/packages/x86_64/huggy/

0 comments on commit bda8f17

Please sign in to comment.