Skip to content

Commit e13cb11

Browse files
committed
set working directory
1 parent e1b1b0d commit e13cb11

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

.github/workflows/build.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,36 +98,42 @@ jobs:
9898

9999
- name: Package artifacts (Windows x86_64)
100100
if: matrix.artifact-name == 'Windows-x86_64'
101+
working-directory: ./apps/reflect
101102
run: |
102103
Compress-Archive -DestinationPath ${{ matrix.artifact-name }}-standalone.zip -Path target/release/
103104
Compress-Archive -DestinationPath ${{ matrix.artifact-name }}.zip -Path ${{ matrix.artifact-name }}-standalone.zip,target/x86_64-pc-windows-msvc/release/bundle/nsis/*.exe
104105
105106
- name: Package artifacts (Windows aarch64)
106107
if: matrix.artifact-name == 'Windows-aarch64'
108+
working-directory: ./apps/reflect
107109
run: |
108110
Compress-Archive -DestinationPath ${{ matrix.artifact-name }}-standalone.zip -Path target/release/
109111
Compress-Archive -DestinationPath ${{ matrix.artifact-name }}.zip -Path ${{ matrix.artifact-name }}-standalone.zip,target/release/bundle/nsis/*.exe
110112
111113
- name: Package artifacts (macOS x86_64)
112114
if: matrix.artifact-name == 'macOS-x86_64'
115+
working-directory: ./apps/reflect
113116
run: |
114117
zip -j ${{ matrix.artifact-name }}-standalone.zip target/release
115118
zip -j ${{ matrix.artifact-name }}.zip ${{ matrix.artifact-name }}-standalone.zip target/release/bundle/dmg/*.dmg
116119
117120
- name: Package artifacts (macOS aarch64)
118121
if: matrix.artifact-name == 'macOS-aarch64'
122+
working-directory: ./apps/reflect
119123
run: |
120124
zip -j ${{ matrix.artifact-name }}-standalone.zip Reflect target/release
121125
zip -j ${{ matrix.artifact-name }}.zip ${{ matrix.artifact-name }}-standalone.zip target/release/bundle/dmg/*.dmg
122126
123127
- name: Package artifacts (Linux x86_64)
124128
if: matrix.artifact-name == 'Linux-x86_64'
129+
working-directory: ./apps/reflect
125130
run: |
126131
zip -j ${{ matrix.artifact-name }}-standalone.zip target/release
127132
zip -j ${{ matrix.artifact-name }}.zip ${{ matrix.artifact-name }}-standalone.zip target/release/bundle/appimage/*.AppImage target/release/bundle/deb/*.deb target/release/bundle/rpm/*.rpm
128133
129134
- name: Package artifacts (Linux aarch64)
130135
if: matrix.artifact-name == 'Linux-aarch64'
136+
working-directory: ./apps/reflect
131137
run: |
132138
zip -j ${{ matrix.artifact-name }}-standalone.zip target/release
133139
zip -j ${{ matrix.artifact-name }}.zip ${{ matrix.artifact-name }}-standalone.zip target/release/bundle/appimage/*.AppImage target/release/bundle/deb/*.deb target/release/bundle/rpm/*.rpm

0 commit comments

Comments
 (0)