Skip to content

Commit

Permalink
Remove unused env, use actions/setup-python@v5.
Browse files Browse the repository at this point in the history
  • Loading branch information
gkoh committed Feb 27, 2024
1 parent b4258a0 commit da2051e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
- uses: actions/checkout@v4

- name: Setup Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: '3.10'
cache: 'pip'
Expand Down
10 changes: 2 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,6 @@ on:
tags:
- 'v*'

env:
FURBLE_VERSION: ${{ github.ref_name }}+${{ github.run_attempt }}
M5STICKC_FIRMWARE: furble-m5stick-c-${{ github.ref_name }}+${{ github.run_attempt }}.bin
M5STICKC_PLUS_FIRMWARE: furble-m5stick-c-plus-${{ github.ref_name }}+${{ github.run_attempt }}.bin
M5STACK_CORE_FIRMWARE: furble-m5stack-core-${{ github.ref_name }}+${{ github.run_attempt }}.bin
M5STACK_CORE2_FIRMWARE: furble-m5stack-core2-${{ github.ref_name }}+${{ github.run_attempt }}.bin

jobs:
build:

Expand All @@ -31,7 +24,7 @@ jobs:
- uses: actions/checkout@v4

- name: Setup Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: '3.10'
cache: 'pip'
Expand Down Expand Up @@ -61,6 +54,7 @@ jobs:

- name: Generate release hashes
run: |
ls -lR
sha256sum furble-*.bin > sha256sum.txt
- name: Release
Expand Down

0 comments on commit da2051e

Please sign in to comment.