This repository was archived by the owner on Nov 16, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +2
-22
lines changed
Expand file tree Collapse file tree 1 file changed +2
-22
lines changed Original file line number Diff line number Diff line change 1818 runs-on : ubuntu-latest
1919 outputs :
2020 ref : ${{ steps.check_input.outputs.ref }}
21- build_flag : ${{ steps.version_check.outputs.build_flag }}
2221 steps :
2322 - name : Check input
2423 id : check_input
@@ -30,18 +29,11 @@ jobs:
3029 else
3130 echo "ref=${{ github.event.inputs.ref }}" >> $GITHUB_OUTPUT
3231 fi
33- - name : Version check
34- id : version_check
35- shell : bash
36- run : |
37- echo "Update? Yes!"
38- echo "build_flag=true" >> $GITHUB_OUTPUT
3932
4033 build :
4134 name : " Build Zed"
4235 runs-on : windows-latest
4336 needs : [checks]
44- if : ${{ needs.checks.outputs.build_flag == 'true' }}
4537 steps :
4638 - name : Checkout code
4739 uses : actions/checkout@v4
8678 with :
8779 sdk-version : 22000
8880
89- - name : Cache Rust dependencies
90- uses : actions/cache@v4
91- with :
92- path : |
93- ~/.cargo/registry
94- ~/.cargo/git
95- ${{ github.workspace }}\zed\crates
96- key : ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
97- restore-keys : |
98- ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}-
99- ${{ runner.os }}-cargo-
100-
10181 - name : Build project
10282 working-directory : ${{ github.workspace }}\zed
10383 shell : pwsh
@@ -109,13 +89,13 @@ jobs:
10989 cargo run --release
11090
11191 - name : Show build artifacts
112- working-directory : ${{ github.workspace }}\ zed
92+ working-directory : ${{ github.workspace }}/ zed
11393 shell : bash
11494 run : |
11595 ls -la target/release
11696
11797 - name : Check build artifacts
118- working-directory : ${{ github.workspace }}\ zed
98+ working-directory : ${{ github.workspace }}/ zed
11999 shell : bash
120100 run : |
121101 if [ ! -f ./target/release/zed.exe ]; then
You can’t perform that action at this time.
0 commit comments