Skip to content

Commit

Permalink
on.schedule at 22:00 UTC everyday
Browse files Browse the repository at this point in the history
  • Loading branch information
ak1ra-komj committed Sep 11, 2024
1 parent 384f7d8 commit 5949cd9
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 42 deletions.
67 changes: 34 additions & 33 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,50 +2,51 @@ name: Build Zed for Windows

on:
workflow_dispatch:

schedule:
# github actions timezone is UTC
- cron: "0 22 * * *"

jobs:
Build:
runs-on: windows-latest

steps:
- name: Checkout
uses: actions/checkout@main
- name: Checkout
uses: actions/checkout@main

- name: Install .NET Core
uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.0.x
- name: Install .NET Core
uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.0.x

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

- name: Install Toolchain
run: rustup target add wasm32-wasi
- name: Install Toolchain
run: rustup target add wasm32-wasi

- name: Clone Source Code
run: |
git config --global user.email 41898282+github-actions[bot]@users.noreply.github.com
git config --global user.name github-actions[bot]
git clone https://github.com/zed-industries/zed -b main zed
- name: Clone Source Code
run: |
git config --global user.email 41898282+github-actions[bot]@users.noreply.github.com
git config --global user.name github-actions[bot]
git clone https://github.com/zed-industries/zed -b main zed
- name: Build Executable
run: |
cd zed
cargo build --release
- name: Build Executable
run: |
cd zed
cargo build --release
- name: Compile Setup Wizard
uses: Minionguyjpro/Inno-Setup-Action@v1.2.2
with:
path: zed_wizard.iss
options: /O+

- name: Upload Setup Wizard
uses: actions/upload-artifact@v4
with:
name: setup
path: Output\zed_setup.exe
- name: Compile Setup Wizard
uses: Minionguyjpro/Inno-Setup-Action@v1.2.2
with:
path: zed_wizard.iss
options: /O+

- name: Upload Setup Wizard
uses: actions/upload-artifact@v4
with:
name: setup
path: Output\zed_setup.exe

Upload:
needs: Build
Expand All @@ -69,8 +70,8 @@ jobs:
id: tag
run: |
echo "::set-output name=release_tag::$(date +"%Y.%m.%d")"
echo "::set-output name=release_date::$(date +"%Y.%m.%d")"
echo "::set-output name=release_date::$(date +"%Y.%m.%d")"
- name: Upload to Releases
uses: softprops/action-gh-release@v2
env:
Expand Down
9 changes: 0 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,6 @@ I don't understand why Zed Industries dosen't release it's own Windows binary. T

It is unclear why Zed Industries doesn't release its own Windows binary. While compiling the code is not complicated, it can be a significant challenge for beginners and it takes up a significant amount of time.



## Download

Go to [Releases](https://github.com/TakumiBC/zed-windows/releases) and download the latest version of `zed_setup.exe`. Run `zed_setup.exe` on your Windows computer and follow the instructions from the setup wizard. Afterwards, you should be able to run Zed.







0 comments on commit 5949cd9

Please sign in to comment.