Skip to content

Merge pull request #20 from EEWBot/renovate/reviewdog-action-actionli… #39

Merge pull request #20 from EEWBot/renovate/reviewdog-action-actionli…

Merge pull request #20 from EEWBot/renovate/reviewdog-action-actionli… #39

Workflow file for this run

name: release
on:
push:
branches:
- "master"
tags:
- "v*"
jobs:
build:
name: build
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4
- name: Install resvg
run: |
# Why Ubuntu uses legacy version of resvg?
mkdir bin
cd bin
# depName=RazrFalcon/resvg
RESVG_VERSION="v0.42.0"
wget "https://github.com/RazrFalcon/resvg/releases/download/${RESVG_VERSION}/resvg-linux-x86_64.tar.gz"
tar xf resvg-linux-x86_64.tar.gz
cd ..
- name: build
run: |
PATH="./bin/:$PATH" ./build.sh
- name: pre-release
uses: softprops/action-gh-release@v2.0.5
if: "! startsWith(github.ref, 'refs/tags/')"
with:
tag_name: "latest"
prerelease: true
name: "Development Build"
files: |
target/*
resources.tar
- name: tagged-release
uses: softprops/action-gh-release@v2.0.5
if: startsWith(github.ref, 'refs/tags/')
with:
prerelease: false
files: |
target/*
resources.tar