|
|
@@ -1,4 +1,4 @@
|
|
|
-name: Build AzulSCSI firmware
|
|
|
+name: Build ZuluSCSI firmware
|
|
|
|
|
|
on:
|
|
|
push:
|
|
|
@@ -13,7 +13,7 @@ jobs:
|
|
|
- name: Check out code from GitHub
|
|
|
uses: actions/checkout@v2
|
|
|
with:
|
|
|
- path: AzulSCSI
|
|
|
+ path: ZuluSCSI
|
|
|
fetch-depth: "0"
|
|
|
|
|
|
- name: Install platformio
|
|
|
@@ -22,26 +22,26 @@ jobs:
|
|
|
|
|
|
- name: Build firmware
|
|
|
run: |
|
|
|
- cd AzulSCSI
|
|
|
+ cd ZuluSCSI
|
|
|
pio run -v
|
|
|
|
|
|
- name: Rename firmware files
|
|
|
run: |
|
|
|
- cd AzulSCSI
|
|
|
+ cd ZuluSCSI
|
|
|
utils/rename_binaries.sh
|
|
|
|
|
|
- name: Upload binaries into build artifacts
|
|
|
uses: actions/upload-artifact@v2
|
|
|
with:
|
|
|
- path: AzulSCSI/distrib/*
|
|
|
- name: AzulSCSI binaries
|
|
|
+ path: ZuluSCSI/distrib/*
|
|
|
+ name: ZuluSCSI binaries
|
|
|
|
|
|
- name: Upload to latest release
|
|
|
env:
|
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
|
if: github.ref == 'refs/heads/main'
|
|
|
run: |
|
|
|
- cd AzulSCSI
|
|
|
+ cd ZuluSCSI
|
|
|
git tag -d latest
|
|
|
git tag latest
|
|
|
git push origin --force latest
|
|
|
@@ -54,6 +54,6 @@ jobs:
|
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
|
if: ${{ startsWith(github.ref, 'refs/tags/') }}
|
|
|
run: |
|
|
|
- cd AzulSCSI/distrib
|
|
|
+ cd ZuluSCSI/distrib
|
|
|
RELEASE=$(basename ${{github.ref}})
|
|
|
gh release upload --repo ${GITHUB_REPOSITORY} $RELEASE *
|