Skip to content

Commit

Permalink
ReFix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
yanorei32 committed Apr 23, 2024
1 parent 63d921b commit 9b42493
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 8 deletions.
15 changes: 11 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,18 @@ jobs:

- name: Install resvg
run: |
sudo apt-get -y update
sudo apt-get install -y resvg
# I hate Ubuntu https://packages.ubuntu.com/jammy/amd64/resvg/filelist
# Why Ubuntu uses legacy version of resvg?
mkdir bin
ln -s /usr/bin/rendersvg ./bin/resvg
cd bin
# depName=rsms/inter
RESVG_VERSION="0.41.0"
wget "https://github.com/RazrFalcon/resvg/releases/download/${VERSION}/resvg-linux-x86_64.tar.gz"
tar xf resvg-linux-x86_64.tar.gz
cd ..
- name: build
run: |
Expand Down
16 changes: 12 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,19 @@ jobs:

- name: Install resvg
run: |
sudo apt-get -y update
sudo apt-get install -y resvg
# I hate Ubuntu https://packages.ubuntu.com/jammy/amd64/resvg/filelist
# Why Ubuntu uses legacy version of resvg?
mkdir bin
ln -s /usr/bin/rendersvg ./bin/resvg
cd bin
# depName=rsms/inter
RESVG_VERSION="0.41.0"
wget "https://github.com/RazrFalcon/resvg/releases/download/${VERSION}/resvg-linux-x86_64.tar.gz"
tar xf resvg-linux-x86_64.tar.gz
cd ..
- name: build
run: |
Expand Down
6 changes: 6 additions & 0 deletions renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@
"matchStrings": ["depName=(?<depName>.*?)?\\s.*?_COMMIT=\"(?<currentValue>)(?<currentDigest>.*?)\""],
"versioningTemplate": "git",
"datasourceTemplate": "git-refs"
},
{
"fileMatch": ["build.yml"],
"matchStrings": ["depName=(?<depName>.*?)?\\s.*?_VERSION=\"(?<currentValue>.*?)\""],
"versioningTemplate": "docker",
"datasourceTemplate": "github-releases"
}
]
}

0 comments on commit 9b42493

Please sign in to comment.