Add .tar to .gitignore #8
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: release | |
on: | |
push: | |
branches: | |
- "master" | |
tags: | |
- "v*" | |
jobs: | |
build: | |
name: build | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4 | |
- name: Install resvg | |
run: | | |
# Why Ubuntu uses legacy version of resvg? | |
mkdir bin | |
cd bin | |
# depName=rsms/inter | |
RESVG_VERSION="v0.40.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: "marvinpinto/action-automatic-releases@latest" | |
with: | |
repo_token: "${{ secrets.GITHUB_TOKEN }}" | |
automatic_release_tag: "latest" | |
prerelease: true | |
title: "Development Build" | |
files: | | |
target/* | |
resources.tar | |
- name: tagged-release | |
uses: "marvinpinto/action-automatic-releases@latest" | |
if: startsWith(github.ref, 'refs/tags/') | |
with: | |
repo_token: "${{ secrets.GITHUB_TOKEN }}" | |
prerelease: false | |
files: | | |
target/* | |
resources.tar | |