Skip to content

Commit

Permalink
Update github workflow actions for deprecations
Browse files Browse the repository at this point in the history
  • Loading branch information
kepstin committed Dec 11, 2024
1 parent c8cbb96 commit c215765
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 12 deletions.
16 changes: 9 additions & 7 deletions .github/workflows/package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends debhelper devscripts equivs git git-buildpackage pristine-tar
- name: Checkout source code
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
path: source
fetch-depth: 0
Expand Down Expand Up @@ -68,10 +68,11 @@ jobs:
ls ..
- name: Upload artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ubuntu-${{ matrix.UBUNTU_VERSION }}
path: "*.deb"
if-no-files-found: error

amazonlinux-2:
runs-on: ubuntu-latest
Expand All @@ -94,7 +95,7 @@ jobs:
gem install --no-document fpm
- name: Checkout source code
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0
path: bbb-presentation-video
Expand Down Expand Up @@ -130,10 +131,11 @@ jobs:
--depends ffmpeg \
.
- name: Upload artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: amazonlinux-2
path: "*.rpm"
if-no-files-found: error

assets:
name: "Upload assets to release"
Expand All @@ -145,14 +147,14 @@ jobs:
actions: read

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: ubuntu-20.04
path: ubuntu-20.04

- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: amazonlinux-2
path: amazonlinux-2
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/test-report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,11 @@ jobs:

steps:
- name: Download test results
uses: dawidd6/action-download-artifact@v2
uses: action/download-artifact@v4
with:
name: junit
path: junit/
workflow: ${{ github.event.workflow.id }}
workflow_conclusion: ""
github-token: ${{ secrets.GH_PAT }}
run_id: ${{ github.event.workflow_run.id }}

- name: Publish test report
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
steps:

- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Install system dependencies
run: |
Expand Down Expand Up @@ -64,7 +64,7 @@ jobs:

- name: Upload test results
if: ${{ success() || failure() }}
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: junit
path: junit/

0 comments on commit c215765

Please sign in to comment.