mirror of
https://github.com/candle-usb/candleLight_fw.git
synced 2025-01-14 05:42:53 +08:00
try to fix CI action upload, again
- use upload-artifact v3 which should support wildcards in path - remove reference to matrix_target since we're not using a build matrix anymore
This commit is contained in:
parent
51637c9bf6
commit
241e4994c4
6
.github/workflows/ci.yml
vendored
6
.github/workflows/ci.yml
vendored
@ -44,15 +44,15 @@ jobs:
|
|||||||
run: echo "::set-output name=sha_short::$(git rev-parse --short HEAD)"
|
run: echo "::set-output name=sha_short::$(git rev-parse --short HEAD)"
|
||||||
|
|
||||||
- name: Upload weekly build
|
- name: Upload weekly build
|
||||||
uses: actions/upload-artifact@v2.3.1
|
uses: actions/upload-artifact@v3
|
||||||
#only run step if event type was "schedule"
|
#only run step if event type was "schedule"
|
||||||
if: github.event.schedule
|
if: github.event.schedule
|
||||||
with:
|
with:
|
||||||
name: weekly_${{steps.date.outputs.date}}_${{steps.vars.outputs.sha_short}}
|
name: weekly_${{steps.date.outputs.date}}_${{steps.vars.outputs.sha_short}}
|
||||||
path: ${{github.workspace}}/build/${{matrix.target}}_fw.bin
|
path: ${{github.workspace}}/build/*_fw.bin
|
||||||
|
|
||||||
- name: Upload dev snapshot
|
- name: Upload dev snapshot
|
||||||
uses: actions/upload-artifact@v2.3.1
|
uses: actions/upload-artifact@v3
|
||||||
if: ${{ github.event_name != 'schedule'}}
|
if: ${{ github.event_name != 'schedule'}}
|
||||||
with:
|
with:
|
||||||
name: build_${{steps.date.outputs.date}}_${{steps.vars.outputs.sha_short}}
|
name: build_${{steps.date.outputs.date}}_${{steps.vars.outputs.sha_short}}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user