fixed pit timer impl #289
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Automatic Release | |
on: | |
push: | |
branches: [ main ] | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: [self-hosted, Linux, X64] | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: recursive | |
- name: Setup git | |
run: | | |
git config --global user.email "you@example.com" | |
git config --global user.name "Your Name" | |
- name: Delete mujs if exists | |
run: | | |
rm -rf FoxOS-programs/mujs/mujs | |
- name: make | |
run: | | |
make clean -i | |
make clean_tmp -i | |
make img vmdk vdi qcow2 sdk | |
- name: usb | |
run: | | |
echo usb | make usb | |
zip -r usb.zip usb/* | |
zip -r sdk.zip tmp/sdk/* | |
- name: screenshot | |
run: | | |
make screenshot-bios | |
- name: Trigger foxtail build | |
run: | | |
curl -XPOST -u "${{ secrets.PAT_USERNAME }}:${{ secrets.PAT_TOKEN }}" -H "Accept: application/vnd.github.everest-preview+json" -H "Content-Type: application/json" https://api.github.com/repos/TheUltimateFoxOS/foxtail/dispatches --data "{\"event_type\": \"build_application\"}" | |
- uses: marvinpinto/action-automatic-releases@latest | |
with: | |
repo_token: ${{ secrets.GITHUB_TOKEN }} | |
automatic_release_tag: "latest" | |
prerelease: false | |
title: "Development Build" | |
files: | | |
foxos.img | |
foxos.vmdk | |
foxos.vdi | |
foxos.qcow2 | |
foxos.jpg | |
usb.zip | |
sdk.zip |