Skip to content

Commit 4624778

Browse files
committed
Modified CI/CD build artifacts to not contain unnecessary folder structure
1 parent f3f10fe commit 4624778

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

Diff for: .github/workflows/remoteBuild.yml

+8-6
Original file line numberDiff line numberDiff line change
@@ -108,20 +108,22 @@ jobs:
108108
env:
109109
LLVM_SYS_181_PREFIX: /home/linuxbrew/.linuxbrew/opt/llvm@18
110110
zstd_DIR: /home/linuxbrew/.linuxbrew/opt/zstd
111-
- name: Archive Build Result
111+
- name: Archive Build Result (Windows)
112112
if: ${{ matrix.os == 'windows-latest' }}
113113
uses: a7ul/[email protected]
114114
with:
115115
command: c
116-
files: target/x86_64-pc-windows-gnu/release/adept.exe
117-
outPath: build-${{ matrix.os }}.tar.gz
118-
- name: Archive Build Result
116+
cwd: target/x86_64-pc-windows-gnu/release
117+
files: adept.exe
118+
outPath: ${{github.workspace}}/build-${{ matrix.os }}.tar.gz
119+
- name: Archive Build Result (macOS / Linux)
119120
if: ${{ matrix.os != 'windows-latest' }}
120121
uses: a7ul/[email protected]
121122
with:
122123
command: c
123-
files: target/release/adept
124-
outPath: build-${{ matrix.os }}.tar.gz
124+
cwd: target/release
125+
files: adept
126+
outPath: ${{github.workspace}}/build-${{ matrix.os }}.tar.gz
125127
- name: Upload Build Artifact
126128
uses: actions/upload-artifact@v3
127129
with:

0 commit comments

Comments
 (0)