Skip to content

Commit

Permalink
Update GA
Browse files Browse the repository at this point in the history
  • Loading branch information
awawa-dev committed Oct 23, 2024
1 parent 45d902b commit 2e90cb8
Showing 1 changed file with 12 additions and 10 deletions.
22 changes: 12 additions & 10 deletions .github/workflows/wled-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ jobs:
name: Gather Environments
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4.2.1
- name: Cache pip
uses: actions/cache@v3
uses: actions/cache@v4.1.2
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
Expand Down Expand Up @@ -38,16 +38,16 @@ jobs:
matrix:
environment: ${{ fromJSON(needs.get_default_envs.outputs.environments) }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4.2.1
- name: Cache pip
uses: actions/cache@v3
uses: actions/cache@v4.1.2
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
restore-keys: |
${{ runner.os }}-pip-
- name: Cache PlatformIO
uses: actions/cache@v3
uses: actions/cache@v4.1.2
with:
path: ~/.platformio
key: ${{ runner.os }}-${{ hashFiles('**/lockfiles') }}
Expand All @@ -61,28 +61,30 @@ jobs:
env:
WLED_RELEASE: True
run: pio run -e ${{ matrix.environment }}
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v4.4.3
with:
name: firmware-${{ matrix.environment }}
path: |
build_output/firmware/*.bin
build_output/firmware/*.gz
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v4.4.3
if: startsWith(github.ref, 'refs/tags/')
with:
name: firmware-release
name: firmware-release-${{ matrix.environment }}
path: build_output/release/*.bin
release:
name: Create Release
runs-on: ubuntu-latest
needs: [get_default_envs, build]
if: startsWith(github.ref, 'refs/tags/')
steps:
- uses: actions/download-artifact@v2
- uses: actions/download-artifact@v4.1.8
with:
name: firmware-release
pattern: firmware-release-*
merge-multiple: true
- name: Create draft release
uses: softprops/action-gh-release@v1
uses: softprops/action-gh-release@v2.0.8
with:
draft: True
files: |
Expand Down

0 comments on commit 2e90cb8

Please sign in to comment.