mirror of https://github.com/ClassiCube/ClassiCube
workflow fixes
This commit is contained in:
parent
20890533d5
commit
7c9490116a
|
|
@ -16,4 +16,5 @@ runs:
|
|||
- uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: ${{ inputs.DEST_NAME }}
|
||||
path: ${{ inputs.SOURCE_FILE }}
|
||||
path: ${{ inputs.SOURCE_FILE }}
|
||||
if-no-files-found: error
|
||||
|
|
|
|||
|
|
@ -41,7 +41,7 @@ jobs:
|
|||
- uses: ./.github/actions/upload_build
|
||||
if: ${{ always() && steps.compile.outcome == 'success' }}
|
||||
with:
|
||||
SOURCE_FILE: 'build-ps1/ClassiCube-PS1.elf'
|
||||
SOURCE_FILE: 'build/ps1/ClassiCube-PS1.elf'
|
||||
DEST_NAME: 'ClassiCube-PS1.elf'
|
||||
|
||||
- uses: ./.github/actions/upload_build
|
||||
|
|
|
|||
|
|
@ -19,6 +19,11 @@ jobs:
|
|||
image: ijacquez/yaul:latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Install prerequisites
|
||||
run: |
|
||||
apt-get update
|
||||
apt-get install -y curl
|
||||
|
||||
- name: Compile Saturn build
|
||||
id: compile
|
||||
run: |
|
||||
|
|
@ -34,7 +39,7 @@ jobs:
|
|||
- uses: ./.github/actions/upload_build
|
||||
if: ${{ always() && steps.compile.outcome == 'success' }}
|
||||
with:
|
||||
SOURCE_FILE: 'build-saturn/ClassiCube-saturn.elf'
|
||||
SOURCE_FILE: 'build/saturn/ClassiCube-saturn.elf'
|
||||
DEST_NAME: 'ClassiCube-saturn.elf'
|
||||
|
||||
- uses: ./.github/actions/upload_build
|
||||
|
|
|
|||
|
|
@ -90,10 +90,7 @@ clean:
|
|||
$(BUILD_DIR)/$(TARGET).elf: $(SH_OBJS)
|
||||
$(SH_LD) $(foreach specs,$(SH_SPECS),-specs=$(specs)) $(SH_OBJS) $(SH_LDFLAGS) -o $@
|
||||
|
||||
$(TARGET).elf: $(BUILD_DIR)/$(TARGET).elf
|
||||
cp $< $@
|
||||
|
||||
$(BUILD_DIR)/$(TARGET).bin: $(TARGET).elf
|
||||
$(BUILD_DIR)/$(TARGET).bin: $(BUILD_DIR)/$(TARGET).elf
|
||||
$(SH_OBJCOPY) -O binary $< $@
|
||||
@[ -z "${SILENT}" ] && du -hs $@ | awk '{ print $$1; }' || true
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue