mirror of
https://github.com/LIV2/RIDE.git
synced 2025-12-06 04:22:43 +00:00
Update actions to build software
This commit is contained in:
parent
0d876d0d61
commit
fbe59dc795
30
.github/workflows/release.yml
vendored
30
.github/workflows/release.yml
vendored
@ -10,13 +10,42 @@ on:
|
|||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
make_software:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
container: stefanreinauer/amiga-gcc:latest
|
||||||
|
steps:
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
with:
|
||||||
|
token: ${{ secrets.ACCESS_TOKEN }}
|
||||||
|
submodules: true
|
||||||
|
|
||||||
|
- name: Build
|
||||||
|
run: |
|
||||||
|
git config --global --add safe.directory "*"
|
||||||
|
git fetch --prune --unshallow --tags
|
||||||
|
cd Software && make package
|
||||||
|
|
||||||
|
- uses: actions/upload-artifact@v4.4.0
|
||||||
|
with:
|
||||||
|
name: software
|
||||||
|
path: |
|
||||||
|
Software/artifacts/*
|
||||||
|
if-no-files-found: error
|
||||||
|
|
||||||
draft_release:
|
draft_release:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
needs:
|
||||||
|
- make_software
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
- name: Zip Gerbers
|
- name: Zip Gerbers
|
||||||
run: zip -r Gerbers.zip Gerbers
|
run: zip -r Gerbers.zip Gerbers
|
||||||
|
- uses: actions/download-artifact@v4.1.7
|
||||||
|
with:
|
||||||
|
path: artifacts
|
||||||
- name: release
|
- name: release
|
||||||
uses: softprops/action-gh-release@v1
|
uses: softprops/action-gh-release@v1
|
||||||
with:
|
with:
|
||||||
@ -27,3 +56,4 @@ jobs:
|
|||||||
Gerbers/*.csv
|
Gerbers/*.csv
|
||||||
Gerbers.zip
|
Gerbers.zip
|
||||||
Binary/*.jed
|
Binary/*.jed
|
||||||
|
artifacts/software/*
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user