Skip to content

Commit

Permalink
update workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
Scighost committed Nov 15, 2024
1 parent 3a60165 commit 1d9d2c5
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 14 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,16 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Install .NET
uses: actions/setup-dotnet@v3
uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.0.x
global-json-file: global.json

- name: Setup MSBuild
uses: microsoft/setup-msbuild@v1.3.1
uses: microsoft/setup-msbuild@v2

- name: SHA
id: sha
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/convert_preview_to_stable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:

steps:
- name: Checkout Metadata
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: metadata

Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/publish_dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,15 +38,16 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Install .NET
uses: actions/setup-dotnet@v3
uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.0.x
global-json-file: global.json

- name: Setup MSBuild
uses: microsoft/setup-msbuild@v1.3.1
uses: microsoft/setup-msbuild@v2

- name: Build
run: ./build.ps1 -Architecture $env:Platform -Version $env:Version -Dev
Expand Down
15 changes: 8 additions & 7 deletions .github/workflows/publish_preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,15 +35,16 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Install .NET
uses: actions/setup-dotnet@v3
uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.0.x
global-json-file: global.json

- name: Setup MSBuild
uses: microsoft/setup-msbuild@v1.3.1
uses: microsoft/setup-msbuild@v2

- name: Build
run: ./build.ps1 -Architecture $env:Platform -Version $env:Version
Expand All @@ -62,7 +63,7 @@ jobs:
run: ossutil cp -rf ./build/release/ oss://starward/release/ --meta Content-Type:multipart/mixed

- name: Upload Artifact
uses: actions/upload-artifact@v3.1.2
uses: actions/upload-artifact@v4
with:
name: metadata_${{ matrix.platform }}
path: build/metadata/
Expand All @@ -81,17 +82,17 @@ jobs:

steps:
- name: Checkout Metadata
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: metadata

- name: Download Artifact x64
uses: actions/download-artifact@v3.0.2
uses: actions/download-artifact@v4
with:
name: metadata_x64

- name: Download Artifact arm64
uses: actions/download-artifact@v3.0.2
uses: actions/download-artifact@v4
with:
name: metadata_arm64

Expand Down

0 comments on commit 1d9d2c5

Please sign in to comment.