Skip to content

Commit

Permalink
Merge pull request #516 from koron/upgrade-artifact-actions
Browse files Browse the repository at this point in the history
upgrade artifact actions to v4
  • Loading branch information
koron authored Mar 24, 2024
2 parents 18e2ac9 + 21bb94b commit 7d53975
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 20 deletions.
7 changes: 4 additions & 3 deletions .github/actions/release-archive/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,11 @@ runs:
using: 'composite'
steps:

- name: Download artifact
uses: actions/download-artifact@v3
- name: Download artifacts
uses: actions/download-artifact@v4
with:
name: ${{ inputs.name }}-firmwares
pattern: ${{ inputs.name }}-*-firmware
merge-multiple: true

- name: Archive firmwares
shell: bash
Expand Down
24 changes: 7 additions & 17 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,10 @@ jobs:

- run: qmk compile -j 4 -kb keyball/${{ matrix.keyboard }} -km ${{ matrix.keymap }}

- name: Archive firmwares
uses: actions/upload-artifact@v3
- name: Archive built firmware
uses: actions/upload-artifact@v4
with:
name: ${{ matrix.keyboard }}-firmwares
name: ${{ matrix.keyboard }}-${{ matrix.keymap }}-firmware
path: __qmk__/*.hex

check-size:
Expand All @@ -74,20 +74,10 @@ jobs:

steps:

- uses: actions/download-artifact@v3
with: { name: keyball39-firmwares }

- uses: actions/download-artifact@v3
with: { name: keyball44-firmwares }

- uses: actions/download-artifact@v3
with: { name: keyball61-firmwares }

- uses: actions/download-artifact@v3
with: { name: keyball46-firmwares }

- uses: actions/download-artifact@v3
with: { name: one47-firmwares }
- uses: actions/download-artifact@v4
with:
pattern: "*-firmware"
merge-multiple: true

- name: List size of firmwares
run: |
Expand Down

0 comments on commit 7d53975

Please sign in to comment.