diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..0d6093a --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,32 @@ +name: Binxelview Builds +on: + push: + branches: [ "master" ] + pull_request: + branches: [ "master" ] + workflow_dispatch: +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + +jobs: + build-net: + name: Binxelview .NET + runs-on: windows-2019 + steps: + - name: Checkout Files + uses: actions/checkout@v4 + - name: Setup MSVC + uses: microsoft/setup-msbuild@v2 + - name: Build + run: msbuild binxelview.sln -t:rebuild -property:Configuration=Release -property:Platform="Any CPU" + - name: Prepare Artifacts + shell: pwsh + run: | + ./artifact.bat + echo "BUILD_TAG=$(git log -1 --format="%ad--%h" --date=format-local:"%Y-%m-%d-%H%M%S")" >> $env:GITHUB_ENV + - name: Upload Artifact + uses: actions/upload-artifact@v4 + with: + name: binxelview-unstable--${{ env.BUILD_TAG }} + path: presets/ diff --git a/readme.txt b/readme.txt index cea3767..a896287 100644 --- a/readme.txt +++ b/readme.txt @@ -22,7 +22,7 @@ more work would follow with other appropriate tools. Unstable preview builds: -https://ci.appveyor.com/project/bbbradsmith/binxelview/branch/master/artifacts +https://nightly.link/bbbradsmith/binxelview/workflows/build/master Requirements