Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: to release process, update upload artifact #1092

Merged
merged 1 commit into from
Jan 23, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 13 additions & 13 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -138,19 +138,19 @@ jobs:
with:
node-version: ${{ matrix.node-version }}
- name: Download Engine
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: fastly-release
- name: Download Engine
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: fastly-debug
- name: Download Engine
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: fastly-weval
- name: Download Engine Weval Cache
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: fastly-weval-ic-cache
- run: npm install
Expand All @@ -176,7 +176,7 @@ jobs:
key: crate-cache-wasm-tools-${{ env.wasm-tools_version }}
- name: Build with full debug info
run: npm run build:debug:info
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
if-no-files-found: error
name: fastly-debug
Expand Down Expand Up @@ -209,12 +209,12 @@ jobs:
- name: Build
if: matrix.profile == 'weval'
run: npm run build:weval
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
if-no-files-found: error
name: fastly-${{ matrix.profile }}
path: fastly${{ matrix.profile == 'debug' && '.debug.wasm' || (matrix.profile == 'weval' && '-weval.wasm' || '.wasm') }}
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
if: matrix.profile == 'weval'
with:
name: fastly-${{ matrix.profile }}-ic-cache
Expand All @@ -234,7 +234,7 @@ jobs:
node-version: 'lts/*'

- name: Download Engine
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: fastly-debug

Expand Down Expand Up @@ -282,13 +282,13 @@ jobs:
node-version: 'lts/*'

- name: Download Engine
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: fastly-${{ matrix.profile }}

- name: Download Engine Weval Cache
if: matrix.profile == 'weval'
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: fastly-weval-ic-cache

Expand Down Expand Up @@ -362,11 +362,11 @@ jobs:
key: crate-cache-wasm-tools-${{ env.wasm-tools_version }}

- name: Download Engine
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: fastly-${{ matrix.profile }}
- name: Download Engine (AOT weval cache)
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
if: matrix.profile == 'weval'
with:
name: fastly-${{ matrix.profile }}-ic-cache
Expand Down Expand Up @@ -426,7 +426,7 @@ jobs:
key: crate-cache-wasm-tools-${{ env.wasm-tools_version }}

- name: Download Engine
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: fastly-debug

Expand Down
Loading