This repository has been archived by the owner on Jul 27, 2024. It is now read-only.
fix: bad name #6
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
# git tag | |
# git tag vx.y.z | |
# git push --tag | |
on: | |
push: | |
tags: | |
- v* | |
jobs: | |
build: | |
strategy: | |
matrix: | |
include: | |
- os: ubuntu-latest | |
extension: "" | |
- os: windows-latest | |
extension: ".exe" | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Setup repo | |
uses: actions/checkout@v3 | |
- name: Setup Deno | |
uses: denoland/setup-deno@v1 | |
with: | |
deno-version: v1.43.6 | |
- name: Building rokahon on ${{ matrix.os }} | |
run: | | |
cd rokahon-server | |
make compile | |
- name: Release ${{ matrix.os }} | |
uses: svenstaro/upload-release-action@v2 | |
with: | |
tag: ${{ github.ref }} | |
file: "rokahon-server/rokahon${{ matrix.extension }}" | |
asset_name: "rokahon-${{ github.ref_name }}-${{ matrix.os }}${{ matrix.extension }}" | |
overwrite: true |