changed artifact names

This commit is contained in:
Mateusz Faderewski 2023-02-18 18:55:54 +01:00
parent 9f713b938f
commit eb7197a847
2 changed files with 13 additions and 5 deletions

View File

@ -26,8 +26,8 @@ jobs:
- name: Upload artifact - name: Upload artifact
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v3
with: with:
name: SC64 name: SC64-FW-HW-SW
path: SC64.zip path: SC64-FW-HW-SW.zip
- name: Get release - name: Get release
if: github.event_name == 'release' && github.event.action == 'created' if: github.event_name == 'release' && github.event.action == 'created'
@ -43,14 +43,21 @@ jobs:
GITHUB_TOKEN: ${{ github.token }} GITHUB_TOKEN: ${{ github.token }}
with: with:
upload_url: ${{ steps.get_release.outputs.upload_url }} upload_url: ${{ steps.get_release.outputs.upload_url }}
asset_path: SC64.zip asset_path: SC64-FW-HW-SW.zip
asset_name: SC64.zip asset_name: SC64-FW-HW-SW.zip
asset_content_type: application/zip asset_content_type: application/zip
build-executables: build-executables:
strategy: strategy:
matrix: matrix:
os: [windows-latest, ubuntu-latest, macos-latest] os: [windows-latest, ubuntu-latest, macos-latest]
include:
- os: windows-latest
artifact: SC64-Windows
- os: ubuntu-latest
artifact: SC64-Linux
- os: macos-latest
artifact: SC64-macOS
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
@ -78,4 +85,5 @@ jobs:
- name: Upload artifact - name: Upload artifact
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v3
with: with:
name: ${{ matrix.artifact }}
path: sw/pc/dist/* path: sw/pc/dist/*

View File

@ -2,7 +2,7 @@
set -e set -e
PACKAGE_FILE_NAME="SC64" PACKAGE_FILE_NAME="SC64-FW-HW-SW"
TOP_FILES=( TOP_FILES=(
"./sw/pc/dd64.py" "./sw/pc/dd64.py"