From 331985984da5c5d9b607a2363e78295b8b76dabf Mon Sep 17 00:00:00 2001 From: scribam Date: Fri, 31 May 2024 09:29:02 +0200 Subject: [PATCH] update actions in github workflows --- .github/workflows/codeql-analysis.yml | 6 +++--- .github/workflows/i586-mingw32msvc.yml | 2 +- .github/workflows/i686-w64-mingw32.yml | 4 ++-- .github/workflows/main.yml | 4 ++-- .github/workflows/miniupnpd.yml | 2 +- .github/workflows/x86_64-w64-mingw32.yml | 4 ++-- 6 files changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index eb1d680..2d3c401 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -36,11 +36,11 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL - uses: github/codeql-action/init@v2 + uses: github/codeql-action/init@v3 with: languages: ${{ matrix.language }} # If you wish to specify custom queries, you can do so here or in a config file. @@ -56,4 +56,4 @@ jobs: make -C minissdpd all - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@v2 + uses: github/codeql-action/analyze@v3 diff --git a/.github/workflows/i586-mingw32msvc.yml b/.github/workflows/i586-mingw32msvc.yml index 6983510..47a00dc 100644 --- a/.github/workflows/i586-mingw32msvc.yml +++ b/.github/workflows/i586-mingw32msvc.yml @@ -10,7 +10,7 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: download packages run: wget -c https://launchpad.net/ubuntu/+archive/primary/+files/mingw32-binutils_2.20-0.2ubuntu1_amd64.deb https://launchpad.net/ubuntu/+archive/primary/+files/mingw32-runtime_3.15.2-0ubuntu1_all.deb https://launchpad.net/ubuntu/+archive/primary/+files/mingw32_4.2.1.dfsg-2ubuntu1_amd64.deb diff --git a/.github/workflows/i686-w64-mingw32.yml b/.github/workflows/i686-w64-mingw32.yml index ab050a5..a8922ee 100644 --- a/.github/workflows/i686-w64-mingw32.yml +++ b/.github/workflows/i686-w64-mingw32.yml @@ -20,7 +20,7 @@ jobs: # Steps represent a sequence of tasks that will be executed as part of the job steps: # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: install packages run: sudo apt-get install gcc-mingw-w64-i686 mingw-w64-tools @@ -29,7 +29,7 @@ jobs: run: make -C miniupnpc -f Makefile.mingw DLLWRAP=i686-w64-mingw32-dllwrap CC=i686-w64-mingw32-gcc WINDRES=i686-w64-mingw32-windres AR=i686-w64-mingw32-ar all dist - name: upload binaries - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: miniupnpc-win32-binaries-${{github.sha}} path: | diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index bb7a527..9a1e34f 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -22,7 +22,7 @@ jobs: # Steps represent a sequence of tasks that will be executed as part of the job steps: # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: build miniupnpc with make run: make -C miniupnpc all check @@ -43,7 +43,7 @@ jobs: # Steps represent a sequence of tasks that will be executed as part of the job steps: # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: install packages run: sudo apt-get install libnfnetlink-dev diff --git a/.github/workflows/miniupnpd.yml b/.github/workflows/miniupnpd.yml index b072c10..aa384cc 100644 --- a/.github/workflows/miniupnpd.yml +++ b/.github/workflows/miniupnpd.yml @@ -22,7 +22,7 @@ jobs: # Steps represent a sequence of tasks that will be executed as part of the job steps: # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: install packages run: sudo apt-get install libiptc-dev libxtables-dev libnfnetlink-dev libnftnl-dev libmnl-dev libssl-dev diff --git a/.github/workflows/x86_64-w64-mingw32.yml b/.github/workflows/x86_64-w64-mingw32.yml index b4ca154..f9d768b 100644 --- a/.github/workflows/x86_64-w64-mingw32.yml +++ b/.github/workflows/x86_64-w64-mingw32.yml @@ -10,7 +10,7 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: install packages run: sudo apt-get install gcc-mingw-w64-x86-64 mingw-w64-tools @@ -19,7 +19,7 @@ jobs: run: make -C miniupnpc -f Makefile.mingw DLLWRAP=x86_64-w64-mingw32-dllwrap CC=x86_64-w64-mingw32-gcc WINDRES=x86_64-w64-mingw32-windres AR=x86_64-w64-mingw32-ar all dist - name: upload binaries - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: miniupnpc-win64-binaries-${{github.sha}} path: |