Skip to content

Commit

Permalink
Update build-beta.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
This-is-XiaoDeng authored Dec 16, 2023
1 parent 6027bfa commit ff1126a
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions .github/workflows/build-beta.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,11 +85,16 @@ jobs:
copyright: "Copyright (c) 2023 IT Craft Development Team"


- name: "Rename application"
run: |
Move-Item -Path .\build\main.exe -Destination .\build\onedisc.exe

- name: "Upload build"
uses: actions/upload-artifact@v3
with:
name: OneDisc ${{ needs.get-version-number.outputs.VERSION }} for ${{ matrix.os }}-${{ matrix.arch }}
path: build/*
path: build/onedisc.exe

build:
needs: get-version-number
Expand Down Expand Up @@ -132,9 +137,13 @@ jobs:
output-dir: build
lto: yes
script-name: main.py


- name: "Rename application"
run: |
mv build/main.bin build/onedisc
- name: "Upload build"
uses: actions/upload-artifact@v3
with:
name: OneDisc ${{ needs.get-version-number.outputs.VERSION }} for ${{ matrix.os }}-${{ matrix.arch }}
path: build/*
path: build/onedisc

0 comments on commit ff1126a

Please sign in to comment.