diff --git a/.github/workflows/main.yml b/.github/workflows/CI.yml similarity index 78% rename from .github/workflows/main.yml rename to .github/workflows/CI.yml index c2717a2b2..2477c5671 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/CI.yml @@ -1,4 +1,4 @@ -name: main +name: CI on: push: @@ -29,7 +29,6 @@ on: - '.travis.yml' - 'LICENSE' - 'README.md' - jobs: build: runs-on: windows-latest @@ -42,7 +41,7 @@ jobs: run: wmic cpu get caption, deviceid, name, numberofcores, maxclockspeed, status shell: cmd - - uses: actions/checkout@master + - uses: actions/checkout@v2.0.0 with: fetch-depth: 0 @@ -50,7 +49,7 @@ jobs: run: .\xb setup - name: Build - run: .\xb build --cpu_arch=${{matrix.cpu_arch}} --target=src\xenia-app --target=src\xenia-vfs-dump + run: .\xb build --cpu_arch=${{ matrix.cpu_arch }} --target=src\xenia-app --target=src\xenia-vfs-dump - name: Prepare artifacts run: | @@ -60,9 +59,9 @@ jobs: cd artifacts 7z a ..\xenia-canary.zip LICENSE xenia-canary.exe - - uses: actions/upload-artifact@master + - uses: actions/upload-artifact@v1.0.0 with: - name: xenia-canary-${{matrix.cpu_arch}} + name: xenia-canary-${{ matrix.cpu_arch }} path: artifacts - name: Create Release @@ -70,10 +69,10 @@ jobs: id: create_release uses: actions/create-release@v1 env: - GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: - tag_name: tag-${{github.sha}} - release_name: xenia-canary-${{github.sha}} + tag_name: tag-${{ github.sha }} + release_name: xenia-canary-${{ github.sha }} body: | Changes in this Release - First Change @@ -84,9 +83,9 @@ jobs: id: upload-release-asset uses: actions/upload-release-asset@v1.0.1 env: - GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: - upload_url: ${{steps.create_release.outputs.upload_url}} - asset_path: ./xenia-canary.zip + upload_url: ${{ steps.create_release.outputs.upload_url }} + asset_path: xenia-canary.zip asset_name: xenia-canary.zip asset_content_type: application/zip diff --git a/README.md b/README.md index 5dc4e152e..2b8c608dc 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@

Xenia Canary - Xbox 360 Emulator

[![Discord Server](https://img.shields.io/discord/533275703882547200?logo=discord)](https://discord.gg/jydhhRQ) -[![Actions Status](https://github.com/xenia-canary/xenia-canary/workflows/main/badge.svg)](https://github.com/xenia-canary/xenia-canary/actions) +[![Actions Status](https://github.com/xenia-canary/xenia-canary/workflows/CI/badge.svg)](https://github.com/xenia-canary/xenia-canary/actions) [![AppVeyor Build Status](https://ci.appveyor.com/api/projects/status/5fs0ia3031l9rbpo/branch/canary?svg=true)](https://ci.appveyor.com/project/chris-hawley/xenia-canary/branch/canary) [![Azure Build Status](https://dev.azure.com/xenia-canary/xenia-canary/_apis/build/status/xenia-canary.xenia-canary?branchName=canary)](https://dev.azure.com/xenia-canary/xenia-canary/_build/latest?definitionId=1&branchName=canary)