mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-03-09 15:40:03 +00:00
Update main.yml
This commit is contained in:
parent
e7458818bd
commit
e17192e7b4
1 changed files with 5 additions and 4 deletions
9
.github/workflows/main.yml
vendored
9
.github/workflows/main.yml
vendored
|
@ -9,7 +9,7 @@ jobs:
|
|||
build:
|
||||
strategy:
|
||||
matrix:
|
||||
OMR_TARGET: [bpi-r2, p2w_r619ac, rpi2, rpi4, wrt32x, espressobin, r2s, rpi3, wrt3200acm, x86, x86_64]
|
||||
OMR_TARGET: [bpi-r2, rpi2, rpi4, wrt32x, espressobin, r2s, rpi3, wrt3200acm, x86, x86_64]
|
||||
runs-on: ubuntu-latest
|
||||
continue-on-error: true
|
||||
|
||||
|
@ -38,6 +38,7 @@ jobs:
|
|||
git checkout develop
|
||||
fi
|
||||
git pull
|
||||
ln -s omr ${{ GITHUB_WORKSPACE }}/omr
|
||||
- name: Build toolchain
|
||||
working-directory: ../../omr
|
||||
env:
|
||||
|
@ -64,7 +65,7 @@ jobs:
|
|||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: ${{ matrix.OMR_TARGET }}
|
||||
path: ../../omr/${{ matrix.OMR_TARGET }}/source/bin
|
||||
path: ./omr/${{ matrix.OMR_TARGET }}/source/bin
|
||||
- if: steps.branch_name.outputs.SOURCE_BRANCH == ''
|
||||
name: Deploy - Create directory
|
||||
uses: fifsky/ssh-action@master
|
||||
|
@ -99,7 +100,7 @@ jobs:
|
|||
with:
|
||||
switches: -av --delete-after
|
||||
remote_path: deploy/release/${{env.SOURCE_TAG}}/${{matrix.OMR_TARGET}}
|
||||
path: ../../omr/${{matrix.OMR_TARGET}}/source/bin/
|
||||
path: ./omr/${{matrix.OMR_TARGET}}/source/bin/
|
||||
remote_key: ${{ secrets.PRIVATE_KEY }}
|
||||
remote_user: deploy
|
||||
remote_host: ${{ secrets.OMR_DEPLOY_HOST }}
|
||||
|
@ -114,7 +115,7 @@ jobs:
|
|||
with:
|
||||
switches: -av --delete-after
|
||||
remote_path: deploy/${{env.SOURCE_BRANCH}}/${{env.OMR_KERNEL}}/${{matrix.OMR_TARGET}}
|
||||
path: ../../omr/${{matrix.OMR_TARGET}}/source/bin/
|
||||
path: ./omr/${{matrix.OMR_TARGET}}/source/bin/
|
||||
remote_key: ${{ secrets.PRIVATE_KEY }}
|
||||
remote_user: deploy
|
||||
remote_host: ${{ secrets.OMR_DEPLOY_HOST }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue