-
Notifications
You must be signed in to change notification settings - Fork 202
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
31 additions
and
21 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,7 +18,7 @@ jobs: | |
WORKRAVE_BUILD_DATETIME: ${{ steps.out.outputs.WORKRAVE_BUILD_DATETIME }} | ||
WORKRAVE_BUILD_DATE: ${{ steps.out.outputs.WORKRAVE_BUILD_DATE }} | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
submodules: "recursive" | ||
|
@@ -40,9 +40,9 @@ jobs: | |
WORKRAVE_BUILD_DATE: ${{ needs.prep.outputs.WORKRAVE_BUILD_DATE }} | ||
|
||
- name: Upload artifacts to GitHub | ||
uses: actions/upload-artifact@v3 | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: artifacts | ||
name: artifacts-root-catalog | ||
path: _deploy | ||
|
||
build-windows-vcpkg: | ||
|
@@ -77,7 +77,7 @@ jobs: | |
setapikey "${{ secrets.GITHUB_TOKEN }}" | ||
-source "${{ env.GH_NUGET_REGISTRY }}" | ||
- uses: actions/checkout@v3 | ||
- uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
submodules: "recursive" | ||
|
@@ -115,7 +115,7 @@ jobs: | |
git config --global core.autocrlf false | ||
git config --global core.eol lf | ||
- uses: actions/checkout@v3 | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Add msbuild to PATH | ||
uses: microsoft/[email protected] | ||
|
@@ -124,9 +124,9 @@ jobs: | |
run: msbuild ui/applets/windows/src/Applet.sln -t:Rebuild -p:Configuration=${{ matrix.configuration }} -p:Platform=${{ matrix.platform }} | ||
|
||
- name: Upload artifacts to GitHub | ||
uses: actions/upload-artifact@v3 | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: applet | ||
name: artifacts-applet | ||
path: | | ||
ui/applets/windows/src/x64/Release/workrave-applet64.dll | ||
ui/applets/windows/src/Release/workrave-applet.dll | ||
|
@@ -142,12 +142,12 @@ jobs: | |
- configuration: Release | ||
ui: Gtk+3 | ||
enable: TESTS, CRASHPAD, AUTO_UPDATE | ||
upload: true | ||
upload: windows-gtk3-release | ||
|
||
- configuration: Debug | ||
enable: TESTS, TRACING, CRASHPAD, AUTO_UPDATE | ||
ui: Gtk+3 | ||
upload: true | ||
upload: windows-gtk3-debug | ||
|
||
- configuration: Release | ||
ui: Qt | ||
|
@@ -157,7 +157,7 @@ jobs: | |
enable: TESTS, TRACING, CRASHPAD, AUTO_UPDATE | ||
ui: Qt | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
submodules: "recursive" | ||
|
@@ -213,10 +213,10 @@ jobs: | |
WORKRAVE_BUILD_DATE: ${{ needs.prep.outputs.WORKRAVE_BUILD_DATE }} | ||
|
||
- name: Upload artifacts to GitHub | ||
uses: actions/upload-artifact@v3 | ||
uses: actions/upload-artifact@v4 | ||
if: ${{ matrix.config.upload }} | ||
with: | ||
name: artifacts | ||
name: artifacts-${{ matrix.config.upload }} | ||
path: _deploy | ||
|
||
build-cmake: | ||
|
@@ -243,15 +243,15 @@ jobs: | |
ui: Gtk+3 | ||
enable: INDICATOR,GNOME_CLASSIC_PANEL,GSTREAMER,PULSE,TESTS | ||
disable: COVERAGE,TRACING | ||
appimage: true | ||
upload: true | ||
|
||
- image: ubuntu-noble | ||
os: ubuntu-24.04 | ||
compiler: gcc | ||
ui: Gtk+3 | ||
enable: INDICATOR,GNOME45,GNOME_CLASSIC_PANEL,GSTREAMER,PULSE,TESTS | ||
disable: COVERAGE,TRACING | ||
appimage: true | ||
upload: ubuntu-noble | ||
|
||
- image: ubuntu-oracular | ||
os: ubuntu-24.04 | ||
|
@@ -313,7 +313,7 @@ jobs: | |
echo "version=dev" >> $GITHUB_OUTPUT | ||
fi | ||
- uses: actions/checkout@v3 | ||
- uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
|
||
|
@@ -398,24 +398,34 @@ jobs: | |
WORKRAVE_BUILD_DATE: ${{ needs.prep.outputs.WORKRAVE_BUILD_DATE }} | ||
|
||
- name: Upload artifacts to GitHub | ||
uses: actions/upload-artifact@v3 | ||
uses: actions/upload-artifact@v4 | ||
if: ${{ matrix.config.upload }} | ||
with: | ||
name: artifacts | ||
name: artifacts-${{ matrix.config.upload }} | ||
path: _deploy | ||
|
||
merge: | ||
runs-on: ubuntu-latest | ||
needs: [ prep, build-cmake, build-msys2 ] | ||
steps: | ||
- name: Merge Artifacts | ||
uses: actions/upload-artifact/merge@v4 | ||
with: | ||
name: all-artifacts | ||
pattern: artifacts-* | ||
|
||
deploy: | ||
runs-on: ubuntu-24.04 | ||
needs: [prep, build-cmake, build-msys2] | ||
needs: [prep, build-cmake, build-msys2, merge] | ||
if: github.event_name == 'push' && ( github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/') ) | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- uses: actions/download-artifact@v3 | ||
- uses: actions/download-artifact@v4 | ||
with: | ||
name: artifacts | ||
name: all-artifacts | ||
path: artifacts | ||
|
||
- name: Sign | ||
|