|
@@ -22,7 +22,7 @@ jobs:
|
|
|
|
|
|
|
|
steps:
|
|
steps:
|
|
|
- name: Check out repository
|
|
- name: Check out repository
|
|
|
- uses: actions/checkout@v4
|
|
|
|
|
|
|
+ uses: actions/checkout@v7
|
|
|
with:
|
|
with:
|
|
|
fetch-depth: 0
|
|
fetch-depth: 0
|
|
|
ref: ${{ github.event.pull_request.head.sha || github.sha }}
|
|
ref: ${{ github.event.pull_request.head.sha || github.sha }}
|
|
@@ -31,7 +31,7 @@ jobs:
|
|
|
uses: arduino/setup-arduino-cli@v2
|
|
uses: arduino/setup-arduino-cli@v2
|
|
|
|
|
|
|
|
- name: Set up Python
|
|
- name: Set up Python
|
|
|
- uses: actions/setup-python@v5
|
|
|
|
|
|
|
+ uses: actions/setup-python@v7
|
|
|
with:
|
|
with:
|
|
|
python-version: '3.x'
|
|
python-version: '3.x'
|
|
|
|
|
|
|
@@ -110,7 +110,7 @@ jobs:
|
|
|
find build/openpuck build/reversepuck -maxdepth 1 -type f -print | sort
|
|
find build/openpuck build/reversepuck -maxdepth 1 -type f -print | sort
|
|
|
|
|
|
|
|
- name: Upload OpenPuck UF2 artifact
|
|
- name: Upload OpenPuck UF2 artifact
|
|
|
- uses: actions/upload-artifact@v4
|
|
|
|
|
|
|
+ uses: actions/upload-artifact@v7
|
|
|
with:
|
|
with:
|
|
|
name: OpenPuck-${{ steps.build_version.outputs.artifact_version }}-standard.uf2
|
|
name: OpenPuck-${{ steps.build_version.outputs.artifact_version }}-standard.uf2
|
|
|
retention-days: 7
|
|
retention-days: 7
|
|
@@ -118,7 +118,7 @@ jobs:
|
|
|
path: build/openpuck/OpenPuck.ino.uf2
|
|
path: build/openpuck/OpenPuck.ino.uf2
|
|
|
|
|
|
|
|
- name: Upload OpenPuck HEX artifact
|
|
- name: Upload OpenPuck HEX artifact
|
|
|
- uses: actions/upload-artifact@v4
|
|
|
|
|
|
|
+ uses: actions/upload-artifact@v7
|
|
|
with:
|
|
with:
|
|
|
name: OpenPuck-${{ steps.build_version.outputs.artifact_version }}-standard.hex
|
|
name: OpenPuck-${{ steps.build_version.outputs.artifact_version }}-standard.hex
|
|
|
retention-days: 7
|
|
retention-days: 7
|
|
@@ -126,7 +126,7 @@ jobs:
|
|
|
path: build/openpuck/OpenPuck.ino.hex
|
|
path: build/openpuck/OpenPuck.ino.hex
|
|
|
|
|
|
|
|
- name: Upload ReversePuckFirmware UF2 artifact
|
|
- name: Upload ReversePuckFirmware UF2 artifact
|
|
|
- uses: actions/upload-artifact@v4
|
|
|
|
|
|
|
+ uses: actions/upload-artifact@v7
|
|
|
with:
|
|
with:
|
|
|
name: ReversePuckFirmware-${{ steps.build_version.outputs.artifact_version }}.uf2
|
|
name: ReversePuckFirmware-${{ steps.build_version.outputs.artifact_version }}.uf2
|
|
|
retention-days: 7
|
|
retention-days: 7
|
|
@@ -134,7 +134,7 @@ jobs:
|
|
|
path: build/reversepuck/ReversePuckFirmware.ino.uf2
|
|
path: build/reversepuck/ReversePuckFirmware.ino.uf2
|
|
|
|
|
|
|
|
- name: Upload ReversePuckFirmware HEX artifact
|
|
- name: Upload ReversePuckFirmware HEX artifact
|
|
|
- uses: actions/upload-artifact@v4
|
|
|
|
|
|
|
+ uses: actions/upload-artifact@v7
|
|
|
with:
|
|
with:
|
|
|
name: ReversePuckFirmware-${{ steps.build_version.outputs.artifact_version }}.hex
|
|
name: ReversePuckFirmware-${{ steps.build_version.outputs.artifact_version }}.hex
|
|
|
retention-days: 7
|
|
retention-days: 7
|