[GitHub Actions] Rename to CI, formatting

Also don't use master version of Actions, and make asset_path look nicer.
This commit is contained in:
Margen67 2020-01-28 22:48:54 -08:00 committed by illusion
parent 0fa3bf6ca5
commit abce6dcdaa
2 changed files with 12 additions and 13 deletions

View File

@ -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
@ -60,7 +59,7 @@ 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 }}
path: artifacts
@ -87,6 +86,6 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./xenia-canary.zip
asset_path: xenia-canary.zip
asset_name: xenia-canary.zip
asset_content_type: application/zip

View File

@ -6,7 +6,7 @@
<h1 align="center">Xenia Canary - Xbox 360 Emulator</h1>
[![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)
<!--[![Travis Build Status](https://travis-ci.org/xenia-canary/xenia-canary.svg?branch=canary)](https://travis-ci.org/xenia-canary/xenia-canary)-->