mirror of
https://github.com/bytedream/stream-bypass.git
synced 2026-08-04 21:10:40 +02:00
update github actions to latest versions
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
This commit is contained in:
@@ -10,10 +10,10 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v5
|
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
|
||||||
|
|
||||||
- name: Setup node
|
- name: Setup node
|
||||||
uses: actions/setup-node@v6
|
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
|
||||||
with:
|
with:
|
||||||
node-version: 22
|
node-version: 22
|
||||||
cache: 'pnpm'
|
cache: 'pnpm'
|
||||||
@@ -28,13 +28,13 @@ jobs:
|
|||||||
run: pnpm run build
|
run: pnpm run build
|
||||||
|
|
||||||
- name: Upload Firefox (mv2)
|
- name: Upload Firefox (mv2)
|
||||||
uses: actions/upload-artifact@v5
|
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
|
||||||
with:
|
with:
|
||||||
name: stream-bypass-mv2
|
name: stream-bypass-mv2
|
||||||
path: .output/firefox-mv2
|
path: .output/firefox-mv2
|
||||||
|
|
||||||
- name: Upload Chrome (mv3)
|
- name: Upload Chrome (mv3)
|
||||||
uses: actions/upload-artifact@v5
|
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
|
||||||
with:
|
with:
|
||||||
name: stream-bypass-mv3
|
name: stream-bypass-mv3
|
||||||
path: .output/chrome-mv3
|
path: .output/chrome-mv3
|
||||||
|
|||||||
@@ -13,10 +13,10 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v5
|
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
|
||||||
|
|
||||||
- name: Setup node
|
- name: Setup node
|
||||||
uses: actions/setup-node@v6
|
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
|
||||||
with:
|
with:
|
||||||
node-version: 22
|
node-version: 22
|
||||||
cache: 'pnpm'
|
cache: 'pnpm'
|
||||||
|
|||||||
@@ -19,10 +19,10 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v5
|
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
|
||||||
|
|
||||||
- name: Setup node
|
- name: Setup node
|
||||||
uses: actions/setup-node@v6
|
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
|
||||||
with:
|
with:
|
||||||
node-version: 22
|
node-version: 22
|
||||||
cache: 'pnpm'
|
cache: 'pnpm'
|
||||||
@@ -48,20 +48,20 @@ jobs:
|
|||||||
echo "mv3_name=$MV3_NAME" >> "$GITHUB_OUTPUT"
|
echo "mv3_name=$MV3_NAME" >> "$GITHUB_OUTPUT"
|
||||||
|
|
||||||
- name: Upload mv2 as artifact
|
- name: Upload mv2 as artifact
|
||||||
uses: actions/upload-artifact@v5
|
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
|
||||||
with:
|
with:
|
||||||
name: ${{ steps.paths.outputs.mv2_name }}
|
name: ${{ steps.paths.outputs.mv2_name }}
|
||||||
path: ${{ steps.paths.outputs.mv2_path }}
|
path: ${{ steps.paths.outputs.mv2_path }}
|
||||||
|
|
||||||
- name: Upload mv3 as artifact
|
- name: Upload mv3 as artifact
|
||||||
uses: actions/upload-artifact@v5
|
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
|
||||||
with:
|
with:
|
||||||
name: ${{ steps.paths.outputs.mv3_name }}
|
name: ${{ steps.paths.outputs.mv3_name }}
|
||||||
path: ${{ steps.paths.outputs.mv3_path }}
|
path: ${{ steps.paths.outputs.mv3_path }}
|
||||||
|
|
||||||
- name: Upload to latest release
|
- name: Upload to latest release
|
||||||
if: github.event.inputs.dry_run != 'true'
|
if: github.event.inputs.dry_run != 'true'
|
||||||
uses: svenstaro/upload-release-action@v2
|
uses: svenstaro/upload-release-action@ac75e1407b33421f1368f08e0e6cc567cc4edd25 # 2.11.5
|
||||||
with:
|
with:
|
||||||
repo_token: ${{ secrets.GITHUB_TOKEN }}
|
repo_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
file: .output/*mv*.zip
|
file: .output/*mv*.zip
|
||||||
|
|||||||
Reference in New Issue
Block a user