Skip to content

Commit a3b19d7

Browse files
committed
chore(ci): Simplify CI to reduce inputs / complexity using latest version of action
1 parent 01931d7 commit a3b19d7

2 files changed

Lines changed: 0 additions & 15 deletions

File tree

.github/workflows/build.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,5 +39,4 @@ jobs:
3939
idf_target: ${{ env.IDF_TARGET }}
4040
idf_version: ${{ env.IDF_VERSION }}
4141
idf_component_manager: ${{ env.IDF_COMPONENT_MANAGER }}
42-
base_ref: ${{ github.event.pull_request.base.sha }}
4342
flash_total_override: ${{ env.FLASH_TOTAL_OVERRIDE }}

.github/workflows/package_main.yml

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -71,29 +71,15 @@ jobs:
7171
build/flasher_args.json
7272
build/flash_args
7373
74-
- name: Determine base ref
75-
if: ${{ github.event.release && github.event.action == 'published' }}
76-
id: base
77-
shell: bash
78-
run: |
79-
set -euo pipefail
80-
# use the previous tag chronologically
81-
prev=$(git tag --sort=-creatordate | sed -n '2p')
82-
if [ -z "$prev" ]; then prev=$(git tag --sort=-v:refname | sed -n '2p'); fi
83-
echo "ref=$prev" >> "$GITHUB_OUTPUT"
84-
8574
- name: Determine Size Delta
8675
if: ${{ github.event.release && github.event.action == 'published' }}
8776
uses: esp-cpp/esp-idf-size-delta@v1
8877
with:
8978
app_name: ${{ env.APP_NAME }}
9079
app_path: "."
91-
head_name: "${{ github.event.release.tag_name }}"
92-
base_name: "${{ steps.base.outputs.ref }}"
9380
idf_target: ${{ env.IDF_TARGET }}
9481
idf_version: ${{ env.IDF_VERSION }}
9582
idf_component_manager: ${{ env.IDF_COMPONENT_MANAGER }}
96-
base_ref: ${{ steps.base.outputs.ref }}
9783
flash_total_override: ${{ env.FLASH_TOTAL_OVERRIDE }}
9884
post_comment: 'false'
9985

0 commit comments

Comments
 (0)