workflows: update actions version

Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
This commit is contained in:
Nicola Murino 2024-04-30 20:45:27 +02:00
parent 8edce2055d
commit 7b5ad6c38d
No known key found for this signature in database
GPG key ID: 935D2952DEC4EECF
2 changed files with 27 additions and 27 deletions

View file

@ -25,12 +25,12 @@ jobs:
go-version: '1.22' go-version: '1.22'
- name: Initialize CodeQL - name: Initialize CodeQL
uses: github/codeql-action/init@v2 uses: github/codeql-action/init@v3
with: with:
languages: go languages: go
- name: Autobuild - name: Autobuild
uses: github/codeql-action/autobuild@v2 uses: github/codeql-action/autobuild@v3
- name: Perform CodeQL Analysis - name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2 uses: github/codeql-action/analyze@v3

View file

@ -429,22 +429,22 @@ jobs:
shell: bash shell: bash
- name: Download amd64 artifact - name: Download amd64 artifact
uses: actions/download-artifact@v3 uses: actions/download-artifact@v4
with: with:
name: sftpgo_${{ steps.get_version.outputs.SFTPGO_VERSION }}_linux_x86_64.tar.xz name: sftpgo_${{ steps.get_version.outputs.SFTPGO_VERSION }}_linux_x86_64.tar.xz
- name: Download arm64 artifact - name: Download arm64 artifact
uses: actions/download-artifact@v3 uses: actions/download-artifact@v4
with: with:
name: sftpgo_${{ steps.get_version.outputs.SFTPGO_VERSION }}_linux_arm64.tar.xz name: sftpgo_${{ steps.get_version.outputs.SFTPGO_VERSION }}_linux_arm64.tar.xz
- name: Download ppc64le artifact - name: Download ppc64le artifact
uses: actions/download-artifact@v3 uses: actions/download-artifact@v4
with: with:
name: sftpgo_${{ steps.get_version.outputs.SFTPGO_VERSION }}_linux_ppc64le.tar.xz name: sftpgo_${{ steps.get_version.outputs.SFTPGO_VERSION }}_linux_ppc64le.tar.xz
- name: Download armv7 artifact - name: Download armv7 artifact
uses: actions/download-artifact@v3 uses: actions/download-artifact@v4
with: with:
name: sftpgo_${{ steps.get_version.outputs.SFTPGO_VERSION }}_linux_armv7.tar.xz name: sftpgo_${{ steps.get_version.outputs.SFTPGO_VERSION }}_linux_armv7.tar.xz
@ -490,102 +490,102 @@ jobs:
shell: bash shell: bash
- name: Download amd64 artifact - name: Download amd64 artifact
uses: actions/download-artifact@v3 uses: actions/download-artifact@v4
with: with:
name: sftpgo_${{ steps.get_version.outputs.SFTPGO_VERSION }}_linux_x86_64.tar.xz name: sftpgo_${{ steps.get_version.outputs.SFTPGO_VERSION }}_linux_x86_64.tar.xz
- name: Download arm64 artifact - name: Download arm64 artifact
uses: actions/download-artifact@v3 uses: actions/download-artifact@v4
with: with:
name: sftpgo_${{ steps.get_version.outputs.SFTPGO_VERSION }}_linux_arm64.tar.xz name: sftpgo_${{ steps.get_version.outputs.SFTPGO_VERSION }}_linux_arm64.tar.xz
- name: Download ppc64le artifact - name: Download ppc64le artifact
uses: actions/download-artifact@v3 uses: actions/download-artifact@v4
with: with:
name: sftpgo_${{ steps.get_version.outputs.SFTPGO_VERSION }}_linux_ppc64le.tar.xz name: sftpgo_${{ steps.get_version.outputs.SFTPGO_VERSION }}_linux_ppc64le.tar.xz
- name: Download armv7 artifact - name: Download armv7 artifact
uses: actions/download-artifact@v3 uses: actions/download-artifact@v4
with: with:
name: sftpgo_${{ steps.get_version.outputs.SFTPGO_VERSION }}_linux_armv7.tar.xz name: sftpgo_${{ steps.get_version.outputs.SFTPGO_VERSION }}_linux_armv7.tar.xz
- name: Download Linux bundle artifact - name: Download Linux bundle artifact
uses: actions/download-artifact@v3 uses: actions/download-artifact@v4
with: with:
name: sftpgo_${{ steps.get_version.outputs.SFTPGO_VERSION }}_linux_bundle.tar.xz name: sftpgo_${{ steps.get_version.outputs.SFTPGO_VERSION }}_linux_bundle.tar.xz
- name: Download Deb amd64 artifact - name: Download Deb amd64 artifact
uses: actions/download-artifact@v3 uses: actions/download-artifact@v4
with: with:
name: sftpgo_${{ steps.get_version.outputs.PKG_VERSION }}-1_amd64.deb name: sftpgo_${{ steps.get_version.outputs.PKG_VERSION }}-1_amd64.deb
- name: Download Deb arm64 artifact - name: Download Deb arm64 artifact
uses: actions/download-artifact@v3 uses: actions/download-artifact@v4
with: with:
name: sftpgo_${{ steps.get_version.outputs.PKG_VERSION }}-1_arm64.deb name: sftpgo_${{ steps.get_version.outputs.PKG_VERSION }}-1_arm64.deb
- name: Download Deb ppc64le artifact - name: Download Deb ppc64le artifact
uses: actions/download-artifact@v3 uses: actions/download-artifact@v4
with: with:
name: sftpgo_${{ steps.get_version.outputs.PKG_VERSION }}-1_ppc64el.deb name: sftpgo_${{ steps.get_version.outputs.PKG_VERSION }}-1_ppc64el.deb
- name: Download Deb armv7 artifact - name: Download Deb armv7 artifact
uses: actions/download-artifact@v3 uses: actions/download-artifact@v4
with: with:
name: sftpgo_${{ steps.get_version.outputs.PKG_VERSION }}-1_armhf.deb name: sftpgo_${{ steps.get_version.outputs.PKG_VERSION }}-1_armhf.deb
- name: Download RPM x86_64 artifact - name: Download RPM x86_64 artifact
uses: actions/download-artifact@v3 uses: actions/download-artifact@v4
with: with:
name: sftpgo-${{ steps.get_version.outputs.PKG_VERSION }}-1.x86_64.rpm name: sftpgo-${{ steps.get_version.outputs.PKG_VERSION }}-1.x86_64.rpm
- name: Download RPM aarch64 artifact - name: Download RPM aarch64 artifact
uses: actions/download-artifact@v3 uses: actions/download-artifact@v4
with: with:
name: sftpgo-${{ steps.get_version.outputs.PKG_VERSION }}-1.aarch64.rpm name: sftpgo-${{ steps.get_version.outputs.PKG_VERSION }}-1.aarch64.rpm
- name: Download RPM ppc64le artifact - name: Download RPM ppc64le artifact
uses: actions/download-artifact@v3 uses: actions/download-artifact@v4
with: with:
name: sftpgo-${{ steps.get_version.outputs.PKG_VERSION }}-1.ppc64le.rpm name: sftpgo-${{ steps.get_version.outputs.PKG_VERSION }}-1.ppc64le.rpm
- name: Download RPM armv7 artifact - name: Download RPM armv7 artifact
uses: actions/download-artifact@v3 uses: actions/download-artifact@v4
with: with:
name: sftpgo-${{ steps.get_version.outputs.PKG_VERSION }}-1.armv7hl.rpm name: sftpgo-${{ steps.get_version.outputs.PKG_VERSION }}-1.armv7hl.rpm
- name: Download macOS x86_64 artifact - name: Download macOS x86_64 artifact
uses: actions/download-artifact@v3 uses: actions/download-artifact@v4
with: with:
name: sftpgo_${{ steps.get_version.outputs.SFTPGO_VERSION }}_macOS_x86_64.tar.xz name: sftpgo_${{ steps.get_version.outputs.SFTPGO_VERSION }}_macOS_x86_64.tar.xz
- name: Download macOS arm64 artifact - name: Download macOS arm64 artifact
uses: actions/download-artifact@v3 uses: actions/download-artifact@v4
with: with:
name: sftpgo_${{ steps.get_version.outputs.SFTPGO_VERSION }}_macOS_arm64.tar.xz name: sftpgo_${{ steps.get_version.outputs.SFTPGO_VERSION }}_macOS_arm64.tar.xz
- name: Download Windows installer x86_64 artifact - name: Download Windows installer x86_64 artifact
uses: actions/download-artifact@v3 uses: actions/download-artifact@v4
with: with:
name: sftpgo_${{ steps.get_version.outputs.SFTPGO_VERSION }}_windows_x86_64.exe name: sftpgo_${{ steps.get_version.outputs.SFTPGO_VERSION }}_windows_x86_64.exe
- name: Download Windows installer arm64 artifact - name: Download Windows installer arm64 artifact
uses: actions/download-artifact@v3 uses: actions/download-artifact@v4
with: with:
name: sftpgo_${{ steps.get_version.outputs.SFTPGO_VERSION }}_windows_arm64.exe name: sftpgo_${{ steps.get_version.outputs.SFTPGO_VERSION }}_windows_arm64.exe
- name: Download Windows installer x86 artifact - name: Download Windows installer x86 artifact
uses: actions/download-artifact@v3 uses: actions/download-artifact@v4
with: with:
name: sftpgo_${{ steps.get_version.outputs.SFTPGO_VERSION }}_windows_x86.exe name: sftpgo_${{ steps.get_version.outputs.SFTPGO_VERSION }}_windows_x86.exe
- name: Download Windows portable artifact - name: Download Windows portable artifact
uses: actions/download-artifact@v3 uses: actions/download-artifact@v4
with: with:
name: sftpgo_${{ steps.get_version.outputs.SFTPGO_VERSION }}_windows_portable.zip name: sftpgo_${{ steps.get_version.outputs.SFTPGO_VERSION }}_windows_portable.zip
- name: Download source with deps artifact - name: Download source with deps artifact
uses: actions/download-artifact@v3 uses: actions/download-artifact@v4
with: with:
name: sftpgo_${{ steps.get_version.outputs.SFTPGO_VERSION }}_src_with_deps.tar.xz name: sftpgo_${{ steps.get_version.outputs.SFTPGO_VERSION }}_src_with_deps.tar.xz