Compare commits

...
Sign in to create a new pull request.

2 commits

Author SHA1 Message Date
Franck Nijhof
6596e698c0 Another fix 2024-01-19 13:06:29 +01:00
Franck Nijhof
a00860b70d Update GitHub artifact actions 2024-01-19 13:06:29 +01:00
3 changed files with 20 additions and 20 deletions

View file

@ -221,7 +221,7 @@ jobs:
run: find ./homeassistant/components/*/translations -name "*.json" | tar zcvf translations.tar.gz -T -
- name: Upload translations
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4.2.0
with:
name: translations
path: translations.tar.gz

View file

@ -797,16 +797,16 @@ jobs:
2>&1 | tee pytest-${{ matrix.python-version }}-${{ matrix.group }}.txt
- name: Upload pytest output
if: success() || failure() && (steps.pytest-full.conclusion == 'failure' || steps.pytest-partial.conclusion == 'failure')
uses: actions/upload-artifact@v3.1.2
uses: actions/upload-artifact@v4.2.0
with:
name: pytest-${{ github.run_number }}
path: pytest-*.txt
path: pytest-${{ github.run_number }}.txt
- name: Upload coverage artifact
if: needs.info.outputs.skip_coverage != 'true'
uses: actions/upload-artifact@v3.1.2
uses: actions/upload-artifact@v4.2.0
with:
name: coverage-${{ matrix.python-version }}-${{ matrix.group }}
path: coverage.xml
path: coverage-${{ matrix.python-version }}-${{ matrix.group }}.xml
- name: Check dirty
run: |
./script/check_dirty
@ -921,16 +921,16 @@ jobs:
2>&1 | tee pytest-${{ matrix.python-version }}-${mariadb}.txt
- name: Upload pytest output
if: success() || failure() && steps.pytest-partial.conclusion == 'failure'
uses: actions/upload-artifact@v3.1.2
uses: actions/upload-artifact@v4.2.0
with:
name: pytest-${{ github.run_number }}
path: pytest-*.txt
path: pytest-${{ github.run_number }}.txt
- name: Upload coverage artifact
if: needs.info.outputs.skip_coverage != 'true'
uses: actions/upload-artifact@v3.1.2
uses: actions/upload-artifact@v4.2.0
with:
name: coverage-${{ matrix.python-version }}-mariadb
path: coverage.xml
path: coverage-${{ matrix.python-version }}-mariadb.xml
- name: Check dirty
run: |
./script/check_dirty
@ -1046,16 +1046,16 @@ jobs:
2>&1 | tee pytest-${{ matrix.python-version }}-${postgresql}.txt
- name: Upload pytest output
if: success() || failure() && steps.pytest-partial.conclusion == 'failure'
uses: actions/upload-artifact@v3.1.2
uses: actions/upload-artifact@v4.2.0
with:
name: pytest-${{ github.run_number }}
path: pytest-*.txt
path: pytest-${{ github.run_number }}.txt
- name: Upload coverage artifact
if: needs.info.outputs.skip_coverage != 'true'
uses: actions/upload-artifact@v3.1.0
uses: actions/upload-artifact@v4.2.0
with:
name: coverage-${{ matrix.python-version }}-postgresql
path: coverage.xml
path: coverage-${{ matrix.python-version }}-postgresql.xml
- name: Check dirty
run: |
./script/check_dirty
@ -1072,7 +1072,7 @@ jobs:
- name: Check out code from GitHub
uses: actions/checkout@v4.1.1
- name: Download all coverage artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4.1.1
- name: Upload coverage to Codecov (full coverage)
if: needs.info.outputs.test_full_suite == 'true'
uses: Wandalen/wretry.action@v1.3.0

View file

@ -63,13 +63,13 @@ jobs:
) > .env_file
- name: Upload env_file
uses: actions/upload-artifact@v3.1.2
uses: actions/upload-artifact@v4.2.0
with:
name: env_file
path: ./.env_file
- name: Upload requirements_diff
uses: actions/upload-artifact@v3.1.2
uses: actions/upload-artifact@v4.2.0
with:
name: requirements_diff
path: ./requirements_diff.txt
@ -89,12 +89,12 @@ jobs:
uses: actions/checkout@v4.1.1
- name: Download env_file
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4.1.1
with:
name: env_file
- name: Download requirements_diff
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4.1.1
with:
name: requirements_diff
@ -127,12 +127,12 @@ jobs:
uses: actions/checkout@v4.1.1
- name: Download env_file
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4.1.1
with:
name: env_file
- name: Download requirements_diff
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4.1.1
with:
name: requirements_diff