Skip to content

Commit

Permalink
fix GH actions
Browse files Browse the repository at this point in the history
"upload-artifacts@v3" deprecated. Bump to v4, and remove weekly scheduled builds since they are mostly just noise.
  • Loading branch information
fenugrec committed Feb 10, 2025
1 parent 4ae1a7c commit e4bfa52
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
name: CI

on:
schedule:
# build every monday at 00:15 UTC
- cron: '15 0 * * 1'
push:
pull_request:
branches: [ master ]
Expand Down Expand Up @@ -43,16 +40,8 @@ jobs:
id: vars
run: echo "sha_short=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT

- name: Upload weekly build
uses: actions/upload-artifact@v3
#only run step if event type was "schedule"
if: github.event.schedule
with:
name: weekly_${{steps.date.outputs.date}}_${{steps.vars.outputs.sha_short}}
path: ${{github.workspace}}/build/*_fw.bin

- name: Upload dev snapshot
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: ${{ github.event_name != 'schedule'}}
with:
name: build_${{steps.date.outputs.date}}_${{steps.vars.outputs.sha_short}}
Expand Down

0 comments on commit e4bfa52

Please sign in to comment.