Skip to content

Commit

Permalink
Fix Openwrt CI build
Browse files Browse the repository at this point in the history
  • Loading branch information
hamishcoleman committed Apr 22, 2024
1 parent 2e0429f commit eedac6b
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -401,6 +401,13 @@ jobs:
git fetch --force --tags
working-directory: n3n

- name: Set environment for OpenWRT
run: |
echo "BUILD_VERSION=$(scripts/version.sh)" >> "$GITHUB_ENV"
echo "BUILD_SOURCE_URL=https://github.com/${{github.repository}}" >> "$GITHUB_ENV"

Check warning on line 407 in .github/workflows/tests.yml

View workflow job for this annotation

GitHub Actions / Code syntax

407:81 [line-length] line too long (92 > 80 characters)
echo "BUILD_SOURCE_REF=$GITHUB_REF" >> "$GITHUB_ENV"
working-directory: n3n

- name: Copy package definition into openwrt
run: |
cp -r n3n/packages/openwrt openwrt/package/n3n
Expand All @@ -412,9 +419,6 @@ jobs:
- name: Build openwrt packages
run: |
export BUILD_VERSION=$(../n3n/scripts/version.sh)
export BUILD_SOURCE_URL=https://github.com/${{github.repository}}
export BUILD_SOURCE_REF=$GITHUB_REF
echo "Build for $PKG_VERSION"
make package/n3n/clean V=s
make package/n3n/prepare USE_SOURCE_DIR=$GITHUB_WORKSPACE/n3n V=s
Expand Down

0 comments on commit eedac6b

Please sign in to comment.