Skip to content

Commit

Permalink
修改构建目录
Browse files Browse the repository at this point in the history
  • Loading branch information
auqhjjqdo committed Jun 28, 2023
1 parent 11d7130 commit bbb2a7b
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,15 +30,15 @@ jobs:
pip3 install -r requirements.txt
- name: Pyinstaller build
run: pyinstaller build/main.spec --distpath build
run: pyinstaller build/main.spec --distpath .

- name: Upload artifact
uses: actions/upload-artifact@v3
with:
name: LiveRecorder_${{ runner.os }}_${{ github.ref_name }}
path: |
config.sample.json
build/LiveRecorder*
LiveRecorder*
- name: Create archive
if: startsWith(github.ref_name, 'v')
Expand All @@ -47,7 +47,7 @@ jobs:
filename: LiveRecorder_${{ runner.os }}_${{ github.ref_name }}.zip
path: |
config.sample.json
build/LiveRecorder*
LiveRecorder*
- name: Release
if: startsWith(github.ref_name, 'v')
Expand Down Expand Up @@ -85,7 +85,7 @@ jobs:
# recipe: build/AppImageBuilder_amd64.yml
run: |
./appimage-builder-x86_64.AppImage --recipe build/AppImageBuilder_amd64.yml
mv LiveRecorder* build/LiveRecorder
mv LiveRecorder* LiveRecorder
- name: Arm64 build
if: ${{ matrix.arch == 'arm64' }}
Expand All @@ -94,15 +94,15 @@ jobs:
# recipe: build/AppImageBuilder_arm64.yml
run: |
./appimage-builder-x86_64.AppImage --recipe build/AppImageBuilder_arm64.yml
mv LiveRecorder* build/LiveRecorder
mv LiveRecorder* LiveRecorder
- name: Upload artifact
uses: actions/upload-artifact@v3
with:
name: LiveRecorder_${{ runner.os }}_${{ matrix.arch }}_${{ github.ref_name }}
path: |
config.sample.json
build/LiveRecorder*
LiveRecorder*
- name: Create archive
if: startsWith(github.ref_name, 'v')
Expand All @@ -111,7 +111,7 @@ jobs:
filename: LiveRecorder_${{ runner.os }}_${{ matrix.arch }}_${{ github.ref_name }}.zip
path: |
config.sample.json
build/LiveRecorder*
LiveRecorder*
- name: Release
if: startsWith(github.ref_name, 'v')
Expand Down

0 comments on commit bbb2a7b

Please sign in to comment.