fixed release so that it only outputs the hash value #236
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: build | |
on: | |
push: | |
branches: | |
- main | |
paths-ignore: | |
- '**.md' | |
workflow_dispatch: | |
workflow_call: | |
defaults: | |
run: | |
working-directory: Quartus | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
container: | |
image: mbtaylor1982/quartus:22.1 | |
credentials: | |
username: ${{ secrets.DOCKER_HUB_USER }} | |
password: ${{ secrets.DOCKER_HUB_PWD }} | |
env: | |
VERSION: ${{ startsWith(github.ref_name, 'v') && github.ref_name || 'v9.9'}} | |
steps: | |
# 1 - Checkout repository | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
# 2 - RTL synthesis 10M16 | |
- name: Run compilation flow 10M16 | |
run: quartus_sh -t RESDMAC.tcl -device 10M16SCU169C8G -version $VERSION | |
# 3 - Upload artifacts | |
- name: Upload 10M16SCU169C8G Firmware | |
uses: actions/upload-artifact@v4 | |
with: | |
name: OutputFiles_10M16_${{ env.VERSION }}.zip | |
path: Quartus/output_files_10M16SCU169C8G | |
retention-days: 14 | |
# 4 - RTL synthesis 10M04 | |
- name: Run compilation flow 10M04 | |
run: quartus_sh -t RESDMAC.tcl -device 10M04SCU169C8G -version $VERSION | |
# 5 - Upload artifacts | |
- name: Upload 10M04SCU169C8G Firmware | |
uses: actions/upload-artifact@v4 | |
with: | |
name: OutputFiles_10M04_${{ env.VERSION }}.zip | |
path: Quartus/output_files_10M04SCU169C8G | |
retention-days: 14 | |
# 6 - RTL synthesis 10M02 | |
- name: Run compilation flow 10M02 | |
run: quartus_sh -t RESDMAC.tcl -device 10M02SCU169C8G -version $VERSION | |
# 7 - Upload artifacts | |
- name: Upload 10M02SCU169C8G Firmware | |
uses: actions/upload-artifact@v4 | |
with: | |
name: OutputFiles_10M02_${{ env.VERSION }}.zip | |
path: Quartus/output_files_10M02SCU169C8G | |
retention-days: 14 |