mirror of
https://github.com/justcallmekoko/ESP32Marauder.git
synced 2025-12-05 20:40:25 -08:00
Move tag name to new step
This commit is contained in:
10
.github/workflows/build_parallel.yml
vendored
10
.github/workflows/build_parallel.yml
vendored
@@ -242,7 +242,6 @@ jobs:
|
|||||||
- name: Rename and Upload ${{ matrix.board.name }} Artifact
|
- name: Rename and Upload ${{ matrix.board.name }} Artifact
|
||||||
run: |
|
run: |
|
||||||
VERSION=$(grep '#define MARAUDER_VERSION' ./esp32_marauder/configs.h | sed -E 's/.*"v([^"]+)"/v\1/' | tr '.' '_')
|
VERSION=$(grep '#define MARAUDER_VERSION' ./esp32_marauder/configs.h | sed -E 's/.*"v([^"]+)"/v\1/' | tr '.' '_')
|
||||||
VERSION_DOT=$(grep '#define MARAUDER_VERSION' ./esp32_marauder/configs.h | sed -E 's/.*"v([^"]+)"/v\1/')
|
|
||||||
DATE=$(date +%Y%m%d)
|
DATE=$(date +%Y%m%d)
|
||||||
|
|
||||||
BUILD_DIR=./esp32_marauder/build/esp32.esp32.${{ matrix.board.build_dir }}
|
BUILD_DIR=./esp32_marauder/build/esp32.esp32.${{ matrix.board.build_dir }}
|
||||||
@@ -254,7 +253,6 @@ jobs:
|
|||||||
|
|
||||||
echo "artifact_name=$OUTPUT_BIN" >> $GITHUB_ENV
|
echo "artifact_name=$OUTPUT_BIN" >> $GITHUB_ENV
|
||||||
echo "artifact_path=$BUILD_DIR/$OUTPUT_BIN" >> $GITHUB_ENV
|
echo "artifact_path=$BUILD_DIR/$OUTPUT_BIN" >> $GITHUB_ENV
|
||||||
echo "version_dot=$VERSION_DOT" >> $GITHUB_ENV
|
|
||||||
- name: Upload ${{ matrix.board.name }} Artifact
|
- name: Upload ${{ matrix.board.name }} Artifact
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
@@ -272,12 +270,18 @@ jobs:
|
|||||||
- uses: actions/download-artifact@v4
|
- uses: actions/download-artifact@v4
|
||||||
with:
|
with:
|
||||||
merge-multiple: true
|
merge-multiple: true
|
||||||
|
|
||||||
|
- name: Get Tag Version
|
||||||
|
run: |
|
||||||
|
VERSION_DOT=$(grep '#define MARAUDER_VERSION' ./esp32_marauder/configs.h | sed -E 's/.*"v([^"]+)"/v\1/')
|
||||||
|
echo "version_dot=$VERSION_DOT" >> $GITHUB_ENV
|
||||||
|
|
||||||
- name: Create Release
|
- name: Create Release
|
||||||
uses: softprops/action-gh-release@v1
|
uses: softprops/action-gh-release@v1
|
||||||
with:
|
with:
|
||||||
name: "Marauder Release ${{ github.ref_name }}"
|
name: "Marauder Release ${{ github.ref_name }}"
|
||||||
tag_name: ${{ env.version_dot }}
|
tag_name: ${{ env.version_dot }}
|
||||||
generate_release_notes: true
|
generate_release_notes: false
|
||||||
draft: true
|
draft: true
|
||||||
files: |
|
files: |
|
||||||
esp32_marauder_v*.bin
|
esp32_marauder_v*.bin
|
||||||
|
|||||||
Reference in New Issue
Block a user