Use action from submodule
This commit is contained in:
parent
856b93ff72
commit
0adac097c8
|
@ -8,8 +8,32 @@ on:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
call-workflow-passing-data:
|
build-firmware:
|
||||||
uses: rusefi/rusefi/.github/workflows/custom-board-build.yaml@master
|
runs-on: ubuntu-latest
|
||||||
secrets: inherit
|
steps:
|
||||||
permissions:
|
- uses: actions/checkout@v4
|
||||||
contents: write
|
with:
|
||||||
|
submodules: true
|
||||||
|
|
||||||
|
- name: Set run variables
|
||||||
|
id: set-variables
|
||||||
|
run: |
|
||||||
|
if [ "${{github.event_name}}" == "push" -o "${{github.event_name}}" == "schedule" -o "${{github.event_name}}" == "workflow_dispatch" ] && [ "${{github.ref}}" == "refs/heads/master" -o "${{github.ref}}" == "refs/heads/main" ]; then
|
||||||
|
echo 'upload="bundles"' >> $GITHUB_OUTPUT
|
||||||
|
else
|
||||||
|
echo 'push="false"' >> $GITHUB_OUTPUT
|
||||||
|
fi
|
||||||
|
|
||||||
|
- uses: ./ext/rusefi/.github/workflows/custom-board-build
|
||||||
|
with:
|
||||||
|
artifacts: bin srec hex list map elf bundle autoupdate
|
||||||
|
uploads: ini ${{steps.set-variables.outputs.upload}}
|
||||||
|
push: ${{ steps.set-variables.outputs.push }}
|
||||||
|
MY_REPO_PAT: ${{secrets.MY_REPO_PAT}}
|
||||||
|
RUSEFI_ONLINE_FTP_USER: ${{secrets.RUSEFI_ONLINE_FTP_USER}}
|
||||||
|
RUSEFI_ONLINE_FTP_PASS: ${{secrets.RUSEFI_ONLINE_FTP_PASS}}
|
||||||
|
RUSEFI_FTP_SERVER: ${{secrets.RUSEFI_FTP_SERVER}}
|
||||||
|
RUSEFI_SSH_SERVER: ${{secrets.RUSEFI_SSH_SERVER}}
|
||||||
|
RUSEFI_SSH_USER: ${{secrets.RUSEFI_SSH_USER}}
|
||||||
|
RUSEFI_SSH_PASS: ${{secrets.RUSEFI_SSH_PASS}}
|
||||||
|
ADDITIONAL_ENV: ${{secrets.ADDITIONAL_ENV}}
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
Subproject commit 01c9204c695523a741e9aed1f880eb7768481fe1
|
Subproject commit 24d8cd29e198bd8e77cae6cfabe9983e3d17a95f
|
Loading…
Reference in New Issue