chore: build test for 8.7.220.9 #99
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: V8 Release and Publish | |
on: | |
push: | |
tags: | |
- "v*" | |
jobs: | |
build: | |
name: Build V8 | |
strategy: | |
matrix: | |
os: [ubuntu-latest, macos-11, windows-2019] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Checkout Code | |
uses: actions/checkout@v4 | |
with: | |
submodules: true | |
fetch-depth: 1 | |
- name: Build Release for Linux | |
if: startsWith(matrix.os, 'ubuntu') | |
uses: ./.github/actions/build-linux | |
with: | |
archive-name: v8_${{ runner.os }}_amd64 | |
- name: Build Release for macOS | |
if: startsWith(matrix.os, 'macos') | |
uses: ./.github/actions/build-macos | |
with: | |
archive-name: v8_${{ runner.os }}_amd64 | |
- name: Build Release for Windows | |
if: startsWith(matrix.os, 'windows') | |
uses: ./.github/actions/build-windows | |
with: | |
archive-name: v8_${{ runner.os }}_amd64 | |
- name: Upload Archive | |
uses: actions/upload-artifact@v3 | |
with: | |
path: | | |
*.tar.xz | |
*.7z | |
retention-days: 7 | |
release: | |
runs-on: ubuntu-latest | |
if: ${{ always() }} | |
needs: build | |
steps: | |
- name: Download Archives | |
uses: actions/download-artifact@v3 | |
- name: Display Downloads | |
run: ls -lhR artifact | |
- name: Upload Archive | |
uses: softprops/action-gh-release@master | |
with: | |
tag_name: ${{ github.ref }} | |
name: Release ${{ github.ref_name }} | |
draft: false | |
prerelease: false | |
token: ${{ secrets.GITHUB_TOKEN }} | |
files: | | |
artifact/*.tar.xz | |
artifact/*.7z |