mirror of
https://github.com/Polprzewodnikowy/SummerCart64.git
synced 2024-11-21 13:39:15 +01:00
final
This commit is contained in:
parent
8674cbcfa3
commit
d77ae00490
60
.github/workflows/build.yml
vendored
60
.github/workflows/build.yml
vendored
@ -13,41 +13,41 @@ on:
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
# build-firmware:
|
||||
# runs-on: ubuntu-latest
|
||||
build-firmware:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
# steps:
|
||||
# - name: Download SummerCart64 repository
|
||||
# uses: actions/checkout@v3
|
||||
steps:
|
||||
- name: Download SummerCart64 repository
|
||||
uses: actions/checkout@v3
|
||||
|
||||
# - name: Set package version
|
||||
# uses: frabert/replace-string-action@v2
|
||||
# id: version
|
||||
# with:
|
||||
# pattern: '\/'
|
||||
# string: '${{ github.ref_name }}'
|
||||
# replace-with: '-'
|
||||
- name: Set package version
|
||||
uses: frabert/replace-string-action@v2
|
||||
id: version
|
||||
with:
|
||||
pattern: '\/'
|
||||
string: '${{ github.ref_name }}'
|
||||
replace-with: '-'
|
||||
|
||||
# - name: Build firmware
|
||||
# run: ./docker_build.sh release --force-clean
|
||||
# env:
|
||||
# SC64_VERSION: ${{ steps.version.outputs.replaced }}
|
||||
- name: Build firmware
|
||||
run: ./docker_build.sh release --force-clean
|
||||
env:
|
||||
SC64_VERSION: ${{ steps.version.outputs.replaced }}
|
||||
|
||||
# - name: Upload artifact
|
||||
# uses: actions/upload-artifact@v3
|
||||
# with:
|
||||
# name: sc64-pkg-${{ steps.version.outputs.replaced }}
|
||||
# path: |
|
||||
# sc64-extra-${{ steps.version.outputs.replaced }}.zip
|
||||
# sc64-firmware-${{ steps.version.outputs.replaced }}.bin
|
||||
- name: Upload artifact
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: sc64-pkg-${{ steps.version.outputs.replaced }}
|
||||
path: |
|
||||
sc64-extra-${{ steps.version.outputs.replaced }}.zip
|
||||
sc64-firmware-${{ steps.version.outputs.replaced }}.bin
|
||||
|
||||
# - name: Upload release assets
|
||||
# if: github.event_name == 'release' && github.event.action == 'created'
|
||||
# uses: softprops/action-gh-release@v0.1.15
|
||||
# with:
|
||||
# files: |
|
||||
# sc64-extra-${{ steps.version.outputs.replaced }}.zip
|
||||
# sc64-firmware-${{ steps.version.outputs.replaced }}.bin
|
||||
- name: Upload release assets
|
||||
if: github.event_name == 'release' && github.event.action == 'created'
|
||||
uses: softprops/action-gh-release@v0.1.15
|
||||
with:
|
||||
files: |
|
||||
sc64-extra-${{ steps.version.outputs.replaced }}.zip
|
||||
sc64-firmware-${{ steps.version.outputs.replaced }}.bin
|
||||
|
||||
build-deployer:
|
||||
strategy:
|
||||
|
Loading…
Reference in New Issue
Block a user