Skip to content

Commit

Permalink
Try to fix Github Actions warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
sgallou committed Jun 27, 2024
1 parent 2a64077 commit 9a3275c
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 17 deletions.
28 changes: 14 additions & 14 deletions .github/workflows/generate_binaries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
password: ${{ secrets.CONTAINER_GH_TOKEN }}
entrypoint: 'sh /entrypoint_docker.sh'
- name: Upload logs on failure
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4.3.3
if: failure()
with:
name: linux-build_logs
Expand All @@ -28,12 +28,12 @@ jobs:
id: vars
run: echo "tag=${GITHUB_REF#refs/*/}" >> $GITHUB_OUTPUT
- name: Archive Linux-Binaries artifacts
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4.3.3
with:
name: Linux-Binaries
path: ./builds/package/Yadoms*
- name: Archive Linux-Update artifacts
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4.3.3
with:
name: Linux-Update
path: ./builds/package/update*
Expand Down Expand Up @@ -68,7 +68,7 @@ jobs:
password: ${{ secrets.CONTAINER_GH_TOKEN }}
entrypoint: 'sh /entrypoint_docker.sh'
- name: Upload logs on failure
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4.3.3
if: failure()
with:
name: Synology218p-build_logs
Expand All @@ -77,12 +77,12 @@ jobs:
id: vars
run: echo "tag=${GITHUB_REF#refs/*/}" >> $GITHUB_OUTPUT
- name: Archive Synology218p-Binaries artifacts
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4.3.3
with:
name: Synology218p-Binaries
path: ./builds/package/Yadoms*
- name: Archive Synology218p-Update artifacts
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4.3.3
with:
name: Synology218p-Update
path: ./builds/package/update*
Expand Down Expand Up @@ -118,7 +118,7 @@ jobs:
privileged: '--privileged'
entrypoint: 'sh /entrypoint_docker.sh'
- name: Upload logs on failure
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4.3.3
if: failure()
with:
name: RapsberryPI-build_logs
Expand All @@ -127,12 +127,12 @@ jobs:
id: vars
run: echo "tag=${GITHUB_REF#refs/*/}" >> $GITHUB_OUTPUT
- name: Archive RapsberryPI-Binaries artifacts
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4.3.3
with:
name: RapsberryPI-Binaries
path: ./builds/package/Yadoms*
- name: Archive RapsberryPI-Update artifacts
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4.3.3
with:
name: RapsberryPI-Update
path: ./builds/package/update*
Expand Down Expand Up @@ -167,7 +167,7 @@ jobs:
password: ${{ secrets.CONTAINER_GH_TOKEN }}
entrypoint: 'powershell.exe -Command C:\work\build-scripts\windows\entrypoint_docker.ps1'
- name: Upload logs on failure
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4.3.3
if: failure()
with:
name: Windows-build_logs
Expand All @@ -177,12 +177,12 @@ jobs:
run: Write-Host "tag=$( $env:GITHUB_REF -replace '^refs/.*/(.*)$','$1')" >> $GITHUB_OUTPUT
shell: powershell
- name: Archive Windows-Binaries artifacts
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4.3.3
with:
name: Windows-Binaries
path: ./builds/package/Yadoms*
- name: Archive Windows-Update package artifacts
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4.3.3
with:
name: Windows-Update
path: ./builds/package/update*
Expand Down Expand Up @@ -221,7 +221,7 @@ jobs:
language: fr
branch_or_tag_name: 2020-12-02-raspbian-buster
- name: Archive Raspbian-Lite-FR-Yadoms-Image artifacts
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4.3.3
with:
name: Raspbian-Lite-FR-Yadoms-Image
path: ./builds/pi_image/*.zip
Expand Down Expand Up @@ -260,7 +260,7 @@ jobs:
language: en
branch_or_tag_name: 2020-12-02-raspbian-buster
- name: Archive Raspbian-Lite-EN-Yadoms-Image artifacts
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4.3.3
with:
name: Raspbian-Lite-EN-Yadoms-Image
path: ./builds/pi_image/*.zip
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/unit_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
password: ${{ secrets.CONTAINER_GH_TOKEN }}
entrypoint: 'sh /work/build-scripts/linux/entrypoint_docker_unittests.sh'
- name: Archive unittests artifacts
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4.3.3
with:
name: Linux-UnitTests
path: ./tests/unit/builds
Expand All @@ -45,7 +45,7 @@ jobs:
password: ${{ secrets.CONTAINER_GH_TOKEN }}
entrypoint: 'powershell.exe -Command C:\work\build-scripts\windows\entrypoint_docker_unittests.ps1'
- name: Archive unittests artifacts
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4.3.3
with:
name: Windows-UnitTests
path: ./tests/unit/builds
Expand All @@ -55,7 +55,7 @@ jobs:
cd tests/unit/builds/RELEASE
yadomsTests.exe -r detailed -e results.txt
- name: Archive unittests report artifacts
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4.3.3
with:
name: Windows-UnitTests-Report
path: ./tests/unit/builds/RELEASE/results.txt

0 comments on commit 9a3275c

Please sign in to comment.