Update actions (#54)

This commit is contained in:
Sven Serlier 2022-07-06 22:08:00 +02:00 committed by GitHub
parent e1bbcfb73f
commit 536398e71e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 7 deletions

View File

@ -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 }}

View File

@ -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 }}"