Skip to content

Commit

Permalink
CI artifact names and versions
Browse files Browse the repository at this point in the history
  • Loading branch information
rtlopez committed Apr 23, 2024
1 parent 1c1004e commit 97fc5a8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/platformio.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ jobs:
- name: Make Version
run: |
echo "build_file_devel=espfc_${{ env.build_sha }}_${{ matrix.target }}" >> $GITHUB_ENV
echo "build_file_release=espfc_${{ env.build_tag }}_${{ matrix.target }}" >> $GITHUB_ENV
echo "build_file_devel=espnow_rclink_${{ env.build_sha }}_${{ matrix.target }}" >> $GITHUB_ENV
echo "build_file_release=espnow_rclink_${{ env.build_tag }}_${{ matrix.target }}" >> $GITHUB_ENV
- name: Print Version
run: |
Expand Down Expand Up @@ -65,14 +65,14 @@ jobs:
run: |
platformio run -e ${{ matrix.target }}
env:
PLATFORMIO_BUILD_FLAGS: -DESPFC_REVISION=${{ env.build_sha }}
PLATFORMIO_BUILD_FLAGS: -DESPLINK_REVISION=${{ env.build_sha }}

- name: Build Release Target
if: ${{ startsWith(github.ref, 'refs/tags/') }}
run: |
platformio run -e ${{ matrix.target }}
env:
PLATFORMIO_BUILD_FLAGS: -DESPFC_REVISION=${{ env.build_sha }} -DESPFC_VERSION=${{ env.build_tag }}
PLATFORMIO_BUILD_FLAGS: -DESPLINK_REVISION=${{ env.build_sha }} -DESPLINK_VERSION=${{ env.build_tag }}

- name: Create Development Artifact
uses: actions/upload-artifact@v4
Expand Down

0 comments on commit 97fc5a8

Please # to comment.