mirror of
https://github.com/ValdikSS/GoodbyeDPI.git
synced 2024-12-22 14:26:08 +00:00
Update Github Actions "actions" to newest versions
This commit is contained in:
parent
3837635f2c
commit
ba015cf44e
10
.github/workflows/build.yml
vendored
10
.github/workflows/build.yml
vendored
@ -16,7 +16,7 @@ jobs:
|
|||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Declare short commit variable
|
- name: Declare short commit variable
|
||||||
id: vars
|
id: vars
|
||||||
@ -31,7 +31,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Download WinDivert from cache
|
- name: Download WinDivert from cache
|
||||||
id: windivert-cache
|
id: windivert-cache
|
||||||
uses: actions/cache@v2
|
uses: actions/cache@v4
|
||||||
with:
|
with:
|
||||||
path: ${{ env. WINDIVERT_NAME }}
|
path: ${{ env. WINDIVERT_NAME }}
|
||||||
key: ${{ env. WINDIVERT_SHA256 }}
|
key: ${{ env. WINDIVERT_SHA256 }}
|
||||||
@ -49,14 +49,14 @@ jobs:
|
|||||||
run: >
|
run: >
|
||||||
cd src && make clean &&
|
cd src && make clean &&
|
||||||
make CPREFIX=x86_64-w64-mingw32- BIT64=1 WINDIVERTHEADERS=../${{ env.WINDIVERT_BASENAME }}/include WINDIVERTLIBS=../${{ env.WINDIVERT_BASENAME }}/x64 -j4
|
make CPREFIX=x86_64-w64-mingw32- BIT64=1 WINDIVERTHEADERS=../${{ env.WINDIVERT_BASENAME }}/include WINDIVERTLIBS=../${{ env.WINDIVERT_BASENAME }}/x64 -j4
|
||||||
|
|
||||||
- name: Prepare x86_64 directory
|
- name: Prepare x86_64 directory
|
||||||
run: |
|
run: |
|
||||||
mkdir goodbyedpi_x86_64_${{ steps.vars.outputs.sha_short }}
|
mkdir goodbyedpi_x86_64_${{ steps.vars.outputs.sha_short }}
|
||||||
cp src/goodbyedpi.exe ${{ env.WINDIVERT_BASENAME }}/x64/*.{dll,sys} goodbyedpi_x86_64_${{ steps.vars.outputs.sha_short }}
|
cp src/goodbyedpi.exe ${{ env.WINDIVERT_BASENAME }}/x64/*.{dll,sys} goodbyedpi_x86_64_${{ steps.vars.outputs.sha_short }}
|
||||||
|
|
||||||
- name: Upload output file x86_64
|
- name: Upload output file x86_64
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: goodbyedpi_x86_64_${{ steps.vars.outputs.sha_short }}
|
name: goodbyedpi_x86_64_${{ steps.vars.outputs.sha_short }}
|
||||||
path: goodbyedpi_x86_64_${{ steps.vars.outputs.sha_short }}
|
path: goodbyedpi_x86_64_${{ steps.vars.outputs.sha_short }}
|
||||||
@ -72,7 +72,7 @@ jobs:
|
|||||||
cp src/goodbyedpi.exe ${{ env.WINDIVERT_BASENAME }}/x86/*.{dll,sys} goodbyedpi_x86_${{ steps.vars.outputs.sha_short }}
|
cp src/goodbyedpi.exe ${{ env.WINDIVERT_BASENAME }}/x86/*.{dll,sys} goodbyedpi_x86_${{ steps.vars.outputs.sha_short }}
|
||||||
|
|
||||||
- name: Upload output file x86
|
- name: Upload output file x86
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: goodbyedpi_x86_${{ steps.vars.outputs.sha_short }}
|
name: goodbyedpi_x86_${{ steps.vars.outputs.sha_short }}
|
||||||
path: goodbyedpi_x86_${{ steps.vars.outputs.sha_short }}
|
path: goodbyedpi_x86_${{ steps.vars.outputs.sha_short }}
|
||||||
|
Loading…
Reference in New Issue
Block a user