update IconThemes to include new Bookmark icon #20
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
on: | |
push: | |
# Sequence of patterns matched against refs/tags | |
tags: | |
- '*-*-*-*' | |
branches: | |
- master | |
name: Build Release | |
jobs: | |
build: | |
name: Build | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Cache Qt | |
id: cache-qt | |
uses: actions/cache@v4 | |
with: | |
path: ${{runner.workspace}}/Qt | |
key: ${{ runner.os }}-qttools-${{ hashFiles('**/reset-caches.txt') }} | |
- name: Install Qt | |
uses: jurplel/install-qt-action@v3 | |
with: | |
version: '5.9.1' | |
dir: ${{runner.workspace}}/Qt | |
setup-python: 'true' | |
archives: 'qtbase qttools' | |
cache: ${{ steps.cache-qt.outputs.cache-hit }} | |
- name: Build RCC Files | |
run: | | |
pwd | |
qmake -v | |
mkdir src/build | |
python ./ci_scripts/build_resources.py | |
- name: Get tag name | |
if: startswith( github.ref, 'refs/tags/') | |
id: get_tag_name | |
run: echo "TAGNAME=${GITHUB_REF/refs\/tags\//}" >> $GITHUB_OUTPUT | |
- name: Create Release | |
if: startswith( github.ref, 'refs/tags/') | |
uses: ncipollo/release-action@v1 | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
name: Custom Icon Themes (${{ steps.get_tag_name.outputs.TAGNAME }}) | |
body: | | |
Changes in this Release | |
- First Change | |
- Second Change | |
draft: true | |
prerelease: false | |
artifacts: './src/build/*.rcc' |