From: Brendan Hansen Date: Thu, 4 Mar 2021 18:41:58 +0000 (-0600) Subject: Update and rename windows_build.yml to windows-build.yml X-Git-Url: https://git.brendanfh.com/?a=commitdiff_plain;h=351c39ed1663bdf6ddb3cf7608ba09cd87af4f58;p=onyx.git Update and rename windows_build.yml to windows-build.yml --- diff --git a/.github/workflows/windows-build.yml b/.github/workflows/windows-build.yml new file mode 100644 index 00000000..6776cdd5 --- /dev/null +++ b/.github/workflows/windows-build.yml @@ -0,0 +1,30 @@ +# This is a basic workflow to help you get started with Actions + +name: Build on Windows + +# Controls when the action will run. +on: + # Triggers the workflow on push or pull request events but only for the master branch + push: + branches: [ master ] + pull_request: + branches: [ master ] + + # Allows you to run this workflow manually from the Actions tab + workflow_dispatch: + +# A workflow run is made up of one or more jobs that can run sequentially or in parallel +jobs: + # This workflow contains a single job called "build" + build: + # The type of runner that the job will run on + runs-on: windows-latest + + # Steps represent a sequence of tasks that will be executed as part of the job + steps: + # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it + - uses: actions/checkout@v2 + + # Runs a single command using the runners shell + - name: Build a release build + run: cmd.exe /c 'build.bat 1' diff --git a/.github/workflows/windows_build.yml b/.github/workflows/windows_build.yml deleted file mode 100644 index 199b76a2..00000000 --- a/.github/workflows/windows_build.yml +++ /dev/null @@ -1,30 +0,0 @@ -# This is a basic workflow to help you get started with Actions - -name: CI - -# Controls when the action will run. -on: - # Triggers the workflow on push or pull request events but only for the master branch - push: - branches: [ master ] - pull_request: - branches: [ master ] - - # Allows you to run this workflow manually from the Actions tab - workflow_dispatch: - -# A workflow run is made up of one or more jobs that can run sequentially or in parallel -jobs: - # This workflow contains a single job called "build" - build: - # The type of runner that the job will run on - runs-on: windows-latest - - # Steps represent a sequence of tasks that will be executed as part of the job - steps: - # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - - uses: actions/checkout@v2 - - # Runs a single command using the runners shell - - name: Build a release build - run: build.bat 1