Skip to content

Commit

Permalink
build: Update GH Actions checkout after deprecation warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
g-bougard committed Jan 30, 2024
1 parent 2b24f17 commit ca3a1f5
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 14 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/glpi-agent-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Install packages
run: |
sudo apt -y install cpanminus libmodule-install-perl libxml-libxml-perl \
Expand Down Expand Up @@ -57,7 +57,7 @@ jobs:
runs-on: windows-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Update environment
run: |
echo 'C:\Strawberry\perl\bin' >> $GITHUB_PATH
Expand Down Expand Up @@ -109,7 +109,7 @@ jobs:
runs-on: macos-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Update environment
run: |
PERL_PREFIX=$(perl -MConfig -e 'print $Config{prefix}')
Expand Down
22 changes: 11 additions & 11 deletions .github/workflows/glpi-agent-packaging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
macosx-notarization: ${{ steps.set-version.outputs.macosx-notarization }}

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Set version
id: set-version
run: |
Expand Down Expand Up @@ -186,7 +186,7 @@ jobs:
needs: setup-release

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Create folders for cached datas
run: |
mkdir C:\Strawberry-perl-for-GLPI-Agent_build\restore
Expand Down Expand Up @@ -343,7 +343,7 @@ jobs:
needs: setup-release

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Restore points cache
uses: actions/cache@v3
with:
Expand Down Expand Up @@ -459,7 +459,7 @@ jobs:
needs: setup-release

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: snapcore/action-build@v1
id: snapcraft
env:
Expand Down Expand Up @@ -489,7 +489,7 @@ jobs:
needs: setup-release

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Install build dependencies packages
run: |
sudo apt update
Expand Down Expand Up @@ -550,7 +550,7 @@ jobs:
needs: setup-release

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Install build dependencies packages
run: |
sudo apt update
Expand Down Expand Up @@ -606,7 +606,7 @@ jobs:
needs: [ setup-release, linux-snap-packaging, linux-debian-packaging, linux-rpm-packaging ]

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: actions/download-artifact@v3
with:
name: RPM-Build
Expand Down Expand Up @@ -655,7 +655,7 @@ jobs:
needs: [ setup-release, linux-debian-packaging ]

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
# We use AppImage Builder development version as 1.1 is failing
- name: Install AppImage Builder development version
id: install-appimage-builder
Expand Down Expand Up @@ -719,7 +719,7 @@ jobs:
needs: setup-release

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Install build dependencies packages
run: |
sudo apt update
Expand Down Expand Up @@ -763,7 +763,7 @@ jobs:
needs: [ setup-release, windows-packaging, macosx-packaging, linux-snap-packaging, linux-debian-packaging, linux-rpm-packaging, linux-installer, sources ]

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Publish release
id: publish-release
run: |
Expand Down Expand Up @@ -817,7 +817,7 @@ jobs:
needs: [ setup-release, windows-packaging, macosx-packaging, linux-snap-packaging, linux-debian-packaging, linux-rpm-packaging, linux-installer, sources ]

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
repository: ${{ github.repository_owner }}/glpi-project.github.io
token: ${{ secrets.PUBLISHING_TOKEN }}
Expand Down

0 comments on commit ca3a1f5

Please sign in to comment.