Skip to content

chore: bump to v0.51.3-1 #45

chore: bump to v0.51.3-1

chore: bump to v0.51.3-1 #45

Workflow file for this run

name: Build Test
on:
push:
branches-ignore:
- "releases/v*"
tags-ignore:
- "*"
pull_request:
jobs:
build:
runs-on: ubuntu-latest
env:
SDK_URL_PATH: https://downloads.openwrt.org/snapshots/targets/x86/64
SDK_NAME: -sdk-x86-64_
ARCH: x86_64
CACHE_DIR: ~/cache
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup Cache
uses: actions/cache@v2
with:
path: ${{ env.CACHE_DIR }}
key: ${{ runner.os }}:openwrt-frp:${{ env.ARCH }}:cache:${{ github.run_number }}
restore-keys: |
${{ runner.os }}:openwrt-frp:${{ env.ARCH }}:cache:
- name: Install Dependencies
run: |
sudo apt-get update && \
sudo apt-get install -yq gettext libncurses5-dev xsltproc
- name: Prepare SDK Home
run: |
echo "SDK_HOME=$(mktemp -d)" >> $GITHUB_ENV
- name: Build package
env:
OPENWRT_GOLANG_COMMIT: ${{ secrets.OPENWRT_GOLANG_COMMIT }}
run: sh compile.sh
- name: Save Build Result
uses: actions/upload-artifact@v2
with:
name: frp
path: |
*.ipk
retention-days: 7