Closed KygekDev closed 2 years ago
This is currently on the backlog.
can you please explant how i can run it from github actions please
can you please explant how i can run it from github actions please
You can use windows-2022
in GitHub Actions.
Here is an example:
name: MicrosoftTeams-msinternal (prod)
on:
push:
branches:
- master
schedule:
- cron: "*/5 * * * *"
workflow_dispatch:
jobs:
publish:
runs-on: windows-2022
defaults:
run:
shell: cmd
steps:
- uses: actions/checkout@v2.4.0
- uses: actions/setup-node@v2.5.0
with:
node-version: 17.3.0
- run: |
tools\v2.0\launch-debug.bat > defconfig2
- run: |
git config --local core.autocrlf true
git config --local user.name "Microsoft GitHub User"
git config --local user.email msftgits@microsoft.com
- run: |
git add .
git commit --message "Update to the latest Electron + WebView2 builds"
git push
only problem of github-actions is that the artifacts expire
only problem of github-actions is that the artifacts expire
But we don't need to use artifacts in this repo...
only problem of github-actions is that the artifacts expire
But we don't need to use artifacts in this repo...
oh right
This has now been implemented.
You can use GitHub Actions to automatically update and commit the
defconfig
anddefconfig2
files periodically instead of updating and committing it manually.