mirror of
https://github.com/esphome/home-assistant-addon.git
synced 2024-12-18 16:07:57 +01:00
Update actions (#54)
This commit is contained in:
parent
e1bbcfb73f
commit
536398e71e
8
.github/workflows/bump-version.yml
vendored
8
.github/workflows/bump-version.yml
vendored
@ -12,8 +12,8 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3.0.2
|
||||||
- uses: actions/setup-python@v2
|
- uses: actions/setup-python@v4
|
||||||
with:
|
with:
|
||||||
python-version: '3.x'
|
python-version: '3.x'
|
||||||
- run: pip install -r script/requirements.txt
|
- run: pip install -r script/requirements.txt
|
||||||
@ -30,7 +30,7 @@ jobs:
|
|||||||
echo "::set-output name=commit_sha::${COMMIT}"
|
echo "::set-output name=commit_sha::${COMMIT}"
|
||||||
- if: ${{ contains(github.event.inputs.version, 'b') }}
|
- if: ${{ contains(github.event.inputs.version, 'b') }}
|
||||||
name: Create Beta Release
|
name: Create Beta Release
|
||||||
uses: actions/create-release@v1
|
uses: actions/create-release@v1.1.4
|
||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
@ -42,7 +42,7 @@ jobs:
|
|||||||
commitish: ${{ steps.commit_version.outputs.commit_sha }}
|
commitish: ${{ steps.commit_version.outputs.commit_sha }}
|
||||||
- if: ${{ !contains(github.event.inputs.version, 'b') }}
|
- if: ${{ !contains(github.event.inputs.version, 'b') }}
|
||||||
name: Create Stable Release
|
name: Create Stable Release
|
||||||
uses: actions/create-release@v1
|
uses: actions/create-release@v1.1.4
|
||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
6
.github/workflows/lint.yml
vendored
6
.github/workflows/lint.yml
vendored
@ -19,9 +19,9 @@ jobs:
|
|||||||
channel: dev
|
channel: dev
|
||||||
steps:
|
steps:
|
||||||
- name: ⤵️ Check out code from GitHub
|
- name: ⤵️ Check out code from GitHub
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v3.0.2
|
||||||
- name: 🛠 Setup Python
|
- name: 🛠 Setup Python
|
||||||
uses: actions/setup-python@v2
|
uses: actions/setup-python@v4
|
||||||
with:
|
with:
|
||||||
python-version: '3.x'
|
python-version: '3.x'
|
||||||
- name: 🛠 Install dependencies
|
- name: 🛠 Install dependencies
|
||||||
@ -29,6 +29,6 @@ jobs:
|
|||||||
- name: 🛠 Generate files from template
|
- name: 🛠 Generate files from template
|
||||||
run: python script/generate.py ${{ matrix.channels.channel }}
|
run: python script/generate.py ${{ matrix.channels.channel }}
|
||||||
- name: 🚀 Run Home Assistant Add-on Lint on ${{ matrix.channels.channel }}
|
- name: 🚀 Run Home Assistant Add-on Lint on ${{ matrix.channels.channel }}
|
||||||
uses: frenck/action-addon-linter@v2
|
uses: frenck/action-addon-linter@v2.9.0
|
||||||
with:
|
with:
|
||||||
path: "./${{ matrix.channels.folder }}"
|
path: "./${{ matrix.channels.folder }}"
|
||||||
|
Loading…
Reference in New Issue
Block a user