Merge pull request #218 from nwjs-ffmpeg-prebuilt/dependabot/github_actions/dot-github/workflows/gha-89aff5b813
This commit is contained in:
commit
d019fff47b
18
.github/workflows/main.yml
vendored
18
.github/workflows/main.yml
vendored
@ -49,7 +49,7 @@ jobs:
|
|||||||
shell: powershell
|
shell: powershell
|
||||||
steps:
|
steps:
|
||||||
- name: Setup Node
|
- name: Setup Node
|
||||||
uses: actions/setup-node@v4.2.0
|
uses: actions/setup-node@v4.4.0
|
||||||
with:
|
with:
|
||||||
node-version: 20
|
node-version: 20
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
@ -69,7 +69,7 @@ jobs:
|
|||||||
node build --arch x64 --version ${{ needs.is-latest.outputs.nw }}
|
node build --arch x64 --version ${{ needs.is-latest.outputs.nw }}
|
||||||
node build --arch ia32 --version ${{ needs.is-latest.outputs.nw }}
|
node build --arch ia32 --version ${{ needs.is-latest.outputs.nw }}
|
||||||
- name: Upload the artifacts
|
- name: Upload the artifacts
|
||||||
uses: actions/upload-artifact@v4.6.1
|
uses: actions/upload-artifact@v4.6.2
|
||||||
with:
|
with:
|
||||||
name: win
|
name: win
|
||||||
path: 'c:/a/**/build/out/*.zip'
|
path: 'c:/a/**/build/out/*.zip'
|
||||||
@ -80,7 +80,7 @@ jobs:
|
|||||||
runs-on: macos-latest
|
runs-on: macos-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Setup Node
|
- name: Setup Node
|
||||||
uses: actions/setup-node@v4.2.0
|
uses: actions/setup-node@v4.4.0
|
||||||
with:
|
with:
|
||||||
node-version: 20
|
node-version: 20
|
||||||
- name: Delete unused SDKs
|
- name: Delete unused SDKs
|
||||||
@ -98,7 +98,7 @@ jobs:
|
|||||||
node build --arch x64 --version ${{ needs.is-latest.outputs.nw }}
|
node build --arch x64 --version ${{ needs.is-latest.outputs.nw }}
|
||||||
node build --arch arm64 --version ${{ needs.is-latest.outputs.nw }}
|
node build --arch arm64 --version ${{ needs.is-latest.outputs.nw }}
|
||||||
- name: Upload the artifacts
|
- name: Upload the artifacts
|
||||||
uses: actions/upload-artifact@v4.6.1
|
uses: actions/upload-artifact@v4.6.2
|
||||||
with:
|
with:
|
||||||
name: mac
|
name: mac
|
||||||
path: 'build/out/*.zip'
|
path: 'build/out/*.zip'
|
||||||
@ -109,7 +109,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Setup Node
|
- name: Setup Node
|
||||||
uses: actions/setup-node@v4.2.0
|
uses: actions/setup-node@v4.4.0
|
||||||
with:
|
with:
|
||||||
node-version: 20
|
node-version: 20
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
@ -135,7 +135,7 @@ jobs:
|
|||||||
node build --arch x64 -v ${{ needs.is-latest.outputs.nw }}
|
node build --arch x64 -v ${{ needs.is-latest.outputs.nw }}
|
||||||
node build --arch ia32 -v ${{ needs.is-latest.outputs.nw }}
|
node build --arch ia32 -v ${{ needs.is-latest.outputs.nw }}
|
||||||
- name: Upload the artifacts
|
- name: Upload the artifacts
|
||||||
uses: actions/upload-artifact@v4.6.1
|
uses: actions/upload-artifact@v4.6.2
|
||||||
with:
|
with:
|
||||||
name: linux
|
name: linux
|
||||||
path: 'build/out/*.zip'
|
path: 'build/out/*.zip'
|
||||||
@ -153,15 +153,15 @@ jobs:
|
|||||||
echo "NW=$(curl -s https://nwjs.io/versions | jq -r '.latest' | sed 's/v//')" >> $GITHUB_ENV
|
echo "NW=$(curl -s https://nwjs.io/versions | jq -r '.latest' | sed 's/v//')" >> $GITHUB_ENV
|
||||||
fi
|
fi
|
||||||
|
|
||||||
- uses: actions/download-artifact@v4.1.9
|
- uses: actions/download-artifact@v4.3.0
|
||||||
with:
|
with:
|
||||||
name: win
|
name: win
|
||||||
path: release/win
|
path: release/win
|
||||||
- uses: actions/download-artifact@v4.1.9
|
- uses: actions/download-artifact@v4.3.0
|
||||||
with:
|
with:
|
||||||
name: linux
|
name: linux
|
||||||
path: release/linux
|
path: release/linux
|
||||||
- uses: actions/download-artifact@v4.1.9
|
- uses: actions/download-artifact@v4.3.0
|
||||||
with:
|
with:
|
||||||
name: mac
|
name: mac
|
||||||
path: release/mac
|
path: release/mac
|
||||||
|
Loading…
x
Reference in New Issue
Block a user