mirror of
https://github.com/copy/v86.git
synced 2025-12-31 04:23:15 +00:00
Update GitHub Actions
This commit is contained in:
parent
a8a4f65739
commit
c3c3a52fbc
2 changed files with 16 additions and 16 deletions
12
.github/workflows/main.yml
vendored
12
.github/workflows/main.yml
vendored
|
|
@ -6,15 +6,15 @@ jobs:
|
|||
jshint:
|
||||
runs-on: ubuntu-22.04
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v3
|
||||
- run: sudo npm install -g jshint; make jshint
|
||||
test:
|
||||
runs-on: ubuntu-22.04
|
||||
steps:
|
||||
- name: checkout
|
||||
uses: actions/checkout@v2
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- uses: actions/cache@v2
|
||||
- uses: actions/cache@v3
|
||||
id: cache-rustup
|
||||
with:
|
||||
path: ~/.cache/rustup/
|
||||
|
|
@ -32,7 +32,7 @@ jobs:
|
|||
- name: make all
|
||||
run: make all
|
||||
|
||||
- uses: actions/cache@v2
|
||||
- uses: actions/cache@v3
|
||||
id: cache-kvm-unit-test
|
||||
with:
|
||||
path: tests/kvm-unit-tests/
|
||||
|
|
@ -43,7 +43,7 @@ jobs:
|
|||
- name: kvm-unit-test
|
||||
run: tests/kvm-unit-tests/run.js tests/kvm-unit-tests/x86/realmode.flat
|
||||
|
||||
- uses: actions/cache@v2
|
||||
- uses: actions/cache@v3
|
||||
id: cache-nasmtests
|
||||
with:
|
||||
path: tests/nasm/build/
|
||||
|
|
@ -59,7 +59,7 @@ jobs:
|
|||
- name: rust-test
|
||||
run: make rust-test
|
||||
|
||||
- uses: actions/cache@v2
|
||||
- uses: actions/cache@v3
|
||||
id: cache-images
|
||||
with:
|
||||
path: images/
|
||||
|
|
|
|||
20
.github/workflows/release.yml
vendored
20
.github/workflows/release.yml
vendored
|
|
@ -10,9 +10,9 @@ jobs:
|
|||
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v2
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- uses: actions/cache@v2
|
||||
- uses: actions/cache@v3
|
||||
id: cache-rustup
|
||||
with:
|
||||
path: ~/.cache/rustup/
|
||||
|
|
@ -27,12 +27,12 @@ jobs:
|
|||
run: make build/libv86.js build/v86.wasm build/v86-fallback.wasm
|
||||
|
||||
- name: Release to GitHub
|
||||
uses: marvinpinto/action-automatic-releases@latest
|
||||
uses: ncipollo/release-action@v1
|
||||
with:
|
||||
title: Latest Release
|
||||
automatic_release_tag: latest
|
||||
repo_token: "${{ secrets.GITHUB_TOKEN }}"
|
||||
files: |
|
||||
build/*.js
|
||||
build/*.js.map
|
||||
build/*.wasm
|
||||
name: Latest Release
|
||||
tag: latest
|
||||
artifacts: "build/*.js, build/*.js.map, build/*.wasm"
|
||||
allowUpdates: true
|
||||
generateReleaseNotes: true
|
||||
prerelease: true
|
||||
token: "${{ secrets.GITHUB_TOKEN }}"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue