Skip to content

Commit

Permalink
Trigger rebuild with updated libquentier + some corrections in build …
Browse files Browse the repository at this point in the history
…and deploy workflow
  • Loading branch information
d1vanov committed Nov 30, 2023
1 parent abbde62 commit 5730d44
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions .github/workflows/build_and_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ jobs:
uses: actions/cache@v3
with:
path: '${{ runner.workspace }}/libquentier_development_qt_old'
key: ${{ runner.os }}-libquentier-development-qt-old-5
key: ${{ runner.os }}-libquentier-development-qt-old-6
if: ${{ matrix.qt_version == '5.12.8' && ((github.event_name == 'push' && github.ref == 'refs/heads/development') || (github.event_name == 'pull_request' && github.base_ref == 'development')) }}

- name: Download or build libquentier master for Qt 5.12.8
Expand Down Expand Up @@ -436,7 +436,7 @@ jobs:
uses: actions/cache@v3
with:
path: '${{ runner.workspace }}/libquentier_development_qt_modern'
key: ${{ runner.os }}-libquentier-development-qt-modern-3
key: ${{ runner.os }}-libquentier-development-qt-modern-4
if: ${{ matrix.qt_version == '5.12.8' && ((github.event_name == 'push' && github.ref == 'refs/heads/development') || (github.event_name == 'pull_request' && github.base_ref == 'development')) }}

- name: Build libquentier master for Qt 5.15.4
Expand Down Expand Up @@ -910,7 +910,7 @@ jobs:
uses: actions/cache@v3
with:
path: '${{ runner.workspace }}/libquentier_development'
key: ${{ runner.os }}-libquentier-development-2
key: ${{ runner.os }}-libquentier-development-3
if: ${{ (github.event_name == 'push' && github.ref == 'refs/heads/development') || (github.event_name == 'pull_request' && github.base_ref == 'development') }}

- name: Download or build libquentier master
Expand Down Expand Up @@ -1434,7 +1434,7 @@ jobs:
- name: Cache libquentier development x86
id: cache_libquentier_development_x86
env:
LIBQUENTIER_CACHE_VERSION: '5'
LIBQUENTIER_CACHE_VERSION: '6'
uses: actions/cache@v3
with:
path: '${{ runner.workspace }}/libquentier_win_development_x86'
Expand Down Expand Up @@ -1818,7 +1818,7 @@ jobs:
- name: Cache libquentier development x64
id: cache_libquentier_development_x64
env:
LIBQUENTIER_CACHE_VERSION: '5'
LIBQUENTIER_CACHE_VERSION: '6'
uses: actions/cache@v3
with:
path: '${{ runner.workspace }}/libquentier_win_development_x64'
Expand Down Expand Up @@ -2111,7 +2111,7 @@ jobs:
export PREVIOUS_CONTINUOUS_RELEASE_DELETED=0
for i in {1..10}
do
echo "Trying to delete previous continuout release continuous-${BRANCH_NAME}"
echo "Trying to delete previous continuous release continuous-${BRANCH_NAME}"
gh release delete continuous-${BRANCH_NAME} -y -R d1vanov/quentier;
curl -X DELETE -H "Authorization: token ${GITHUB_TOKEN}" -H "Accept: application/vnd.github.v3+json" https://api.github.com/repos/d1vanov/quentier/git/refs/tags/continuous-${BRANCH_NAME};
gh api /repos/d1vanov/quentier/releases/tags/continuous-${BRANCH_NAME} > /tmp/gh_get_release.json && exit_status=$? || exit_status=$?
Expand Down Expand Up @@ -2152,8 +2152,9 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_REF: ${{ github.ref }}
GITHUB_REF_NAME: ${{ github.ref_name }}
run: |
gh release create "$GITHUB_REF" --title "Release build ($GITHUB_REF)" --target $GITHUB_SHA -R d1vanov/quentier
gh release create "$GITHUB_REF" --title "Release build ($GITHUB_REF_NAME)" --target $GITHUB_SHA -R d1vanov/quentier
- name: Download linux artifacts
id: download_linux_artifacts
Expand Down Expand Up @@ -2404,6 +2405,6 @@ jobs:
if: ${{ github.ref != 'refs/heads/master' && github.ref != 'refs/heads/development' }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_REF: ${{ github.ref }}
GITHUB_REF_NAME: ${{ github.ref_name }}
run: |
gh release edit "$GITHUB_REF" --draft=false -R d1vanov/quentier
gh release edit "$GITHUB_REF_NAME" --draft=false -R d1vanov/quentier

0 comments on commit 5730d44

Please sign in to comment.