mirror of
https://github.com/Polprzewodnikowy/SummerCart64.git
synced 2024-11-29 16:54:14 +01:00
test
This commit is contained in:
parent
483a94f7b9
commit
46c6852f83
72
.github/workflows/build.yml
vendored
72
.github/workflows/build.yml
vendored
@ -13,39 +13,39 @@ on:
|
|||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build-fw-hw-sw:
|
# build-fw-hw-sw:
|
||||||
runs-on: ubuntu-latest
|
# runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
# steps:
|
||||||
- name: Git checkout
|
# - name: Git checkout
|
||||||
uses: actions/checkout@v3
|
# uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Build script
|
# - name: Build script
|
||||||
run: ./docker_build.sh release --force-clean
|
# run: ./docker_build.sh release --force-clean
|
||||||
|
|
||||||
- name: Upload artifact
|
# - name: Upload artifact
|
||||||
uses: actions/upload-artifact@v3
|
# uses: actions/upload-artifact@v3
|
||||||
with:
|
# with:
|
||||||
name: SC64
|
# name: SC64
|
||||||
path: SC64.zip
|
# path: SC64.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'
|
||||||
id: get_release
|
# id: get_release
|
||||||
uses: bruceadams/get-release@v1.3.2
|
# uses: bruceadams/get-release@v1.3.2
|
||||||
env:
|
# env:
|
||||||
GITHUB_TOKEN: ${{ github.token }}
|
# GITHUB_TOKEN: ${{ github.token }}
|
||||||
|
|
||||||
- name: Upload release asset
|
# - name: Upload release asset
|
||||||
if: github.event_name == 'release' && github.event.action == 'created'
|
# if: github.event_name == 'release' && github.event.action == 'created'
|
||||||
uses: actions/upload-release-asset@v1 # This will start failing soon due to needing node 12!
|
# uses: actions/upload-release-asset@v1 # This will start failing soon due to needing node 12!
|
||||||
env:
|
# env:
|
||||||
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.zip
|
||||||
asset_name: SC64.zip
|
# asset_name: SC64.zip
|
||||||
asset_content_type: application/zip
|
# asset_content_type: application/zip
|
||||||
|
|
||||||
build-executables:
|
build-executables:
|
||||||
strategy:
|
strategy:
|
||||||
@ -87,3 +87,19 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
name: ${{ matrix.artifact }}
|
name: ${{ matrix.artifact }}
|
||||||
path: sw/pc/dist/*
|
path: sw/pc/dist/*
|
||||||
|
|
||||||
|
- name: Zip executables
|
||||||
|
run: zip -j -r ${{ matrix.artifact }}.zip dist/*
|
||||||
|
working-directory: sw/pc
|
||||||
|
|
||||||
|
- name: TEST
|
||||||
|
uses: actions/upload-artifact@v3
|
||||||
|
with:
|
||||||
|
name: ${{ matrix.artifact }}-test
|
||||||
|
path: sw/pc/${{ matrix.artifact }}.zip
|
||||||
|
|
||||||
|
- name: Upload release assets
|
||||||
|
uses: softprops/action-gh-release@v0.1.15
|
||||||
|
if: github.event_name == 'release' && github.event.action == 'created'
|
||||||
|
with:
|
||||||
|
files: sw/pc/${{ matrix.artifact }}.zip
|
||||||
|
Loading…
Reference in New Issue
Block a user