Skip to content

Commit

Permalink
Upgrade to download/upload-artifact@v4
Browse files Browse the repository at this point in the history
  • Loading branch information
agile.zhou committed Sep 20, 2024
1 parent 81ca0dc commit 632b790
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 62 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/arm32.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:

- run: npm install
- run: npm run build
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v4
with:
name: agileconfig-ui
path: AgileConfig.Server.UI/react-ui-antd/dist/
Expand All @@ -46,7 +46,7 @@ jobs:
run: dotnet restore
- name: Build
run: dotnet build --configuration Release --no-restore
- uses: actions/download-artifact@v2
- uses: actions/download-artifact@v4
with:
name: agileconfig-ui
path: AgileConfig.Server.Apisite/wwwroot/ui
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/arm64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:

- run: npm install
- run: npm run build
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v4
with:
name: agileconfig-ui
path: AgileConfig.Server.UI/react-ui-antd/dist/
Expand All @@ -46,7 +46,7 @@ jobs:
run: dotnet restore
- name: Build
run: dotnet build --configuration Release --no-restore
- uses: actions/download-artifact@v2
- uses: actions/download-artifact@v4
with:
name: agileconfig-ui
path: AgileConfig.Server.Apisite/wwwroot/ui
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/mysqlconnector.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:

- run: npm install
- run: npm run build
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v4
with:
name: agileconfig-ui
path: AgileConfig.Server.UI/react-ui-antd/dist/
Expand All @@ -46,7 +46,7 @@ jobs:
run: dotnet restore
- name: Build
run: dotnet build --configuration Release --no-restore
- uses: actions/download-artifact@v2
- uses: actions/download-artifact@v4
with:
name: agileconfig-ui
path: AgileConfig.Server.Apisite/wwwroot/ui
Expand Down
52 changes: 0 additions & 52 deletions .github/workflows/preview-dotnet.yml

This file was deleted.

4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:

- run: npm install
- run: npm run build
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v4
with:
name: agileconfig-ui
path: src/AgileConfig.Server.UI/react-ui-antd/dist/
Expand All @@ -45,7 +45,7 @@ jobs:
run: dotnet restore
- name: Build
run: dotnet build --configuration Release --no-restore
- uses: actions/download-artifact@v2
- uses: actions/download-artifact@v4
with:
name: agileconfig-ui
path: src/AgileConfig.Server.Apisite/wwwroot/ui
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release-xxx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:

- run: npm install
- run: npm run build
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v4
with:
name: agileconfig-ui
path: src/AgileConfig.Server.UI/react-ui-antd/dist/
Expand All @@ -45,7 +45,7 @@ jobs:
run: dotnet restore
- name: Build
run: dotnet build --configuration Release --no-restore
- uses: actions/download-artifact@v2
- uses: actions/download-artifact@v4
with:
name: agileconfig-ui
path: src/AgileConfig.Server.Apisite/wwwroot/ui
Expand Down

0 comments on commit 632b790

Please sign in to comment.