Skip to content

Commit 92d3e54

Browse files
committed
Update Workflows
1 parent 3677685 commit 92d3e54

2 files changed

Lines changed: 19 additions & 8 deletions

File tree

.github/workflows/linux-build.yml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,14 @@ on:
1010
env:
1111
# Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.)
1212
BUILD_TYPE: RelWithDebInfo
13+
INSTALL_LOCATION: RiffTree
1314

1415
jobs:
1516
build:
1617
runs-on: ubuntu-latest
1718

1819
steps:
19-
- uses: actions/checkout@v4
20+
- uses: actions/checkout@v6
2021
with:
2122
submodules: true
2223

@@ -31,3 +32,14 @@ jobs:
3132

3233
- name: Build
3334
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}
35+
36+
- name: Install
37+
run: cmake --install build --config ${{env.BUILD_TYPE}}
38+
39+
- name: Upload Artifacts
40+
uses: actions/upload-artifact@v7
41+
with:
42+
name: ${{env.INSTALL_LOCATION}}-Linux
43+
path: ${{env.INSTALL_LOCATION}}
44+
retention-days: 90
45+
overwrite: true

.github/workflows/win-msys2-build.yml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,9 @@ jobs:
5151
nsis-version: '3.11'
5252

5353
- name: '${{ matrix.icon }} Checkout'
54-
uses: actions/checkout@v4
54+
uses: actions/checkout@v6
55+
with:
56+
submodules: true
5557

5658
- name: '${{ matrix.icon }} Configure CMake'
5759
id: configuration
@@ -70,19 +72,16 @@ jobs:
7072
- name: '${{ matrix.icon }} Install'
7173
run: cmake --install build --config ${{env.BUILD_TYPE}}
7274

73-
- name: '${{ matrix.icon }} Create Archive'
74-
run: tar cvf ${{env.INSTALL_LOCATION}}.tar ${{env.INSTALL_LOCATION}}
75-
7675
- name: '${{ matrix.icon }} Upload Artifacts'
77-
uses: actions/upload-artifact@v6
76+
uses: actions/upload-artifact@v7
7877
with:
7978
name: ${{env.INSTALL_LOCATION}}-msys2-${{matrix.sys}}
80-
path: ${{env.INSTALL_LOCATION}}.tar
79+
path: ${{env.INSTALL_LOCATION}}
8180
retention-days: 90
8281
overwrite: true
8382

8483
- name: '${{ matrix.icon }} Upload Installer'
85-
uses: actions/upload-artifact@v6
84+
uses: actions/upload-artifact@v7
8685
with:
8786
name: rifftree-installer-${{matrix.sys}}
8887
path: ${{github.workspace}}/build/rifftree-${{steps.configuration.outputs.config_version}}-${{matrix.sys}}.exe

0 commit comments

Comments
 (0)