This repository has been archived by the owner on Nov 5, 2023. It is now read-only.
Merge pull request #23 from HyperloopUPV-H8/features/tftp #10
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: Create Release | |
on: | |
push: | |
branches: | |
- main | |
- develop | |
jobs: | |
build: | |
name: "Build" | |
uses: ./.github/workflows/build.yaml | |
secrets: | |
SECRET: ${{ secrets.GOOGLE_DRIVE_API }} | |
release: | |
name: "Release" | |
needs: [build] | |
runs-on: ubuntu-latest | |
steps: | |
- name: "Checkout" | |
uses: actions/checkout@v2 | |
- name: "Download linux release" | |
uses: actions/download-artifact@v2 | |
with: | |
name: backend-linux | |
path: ./output | |
- name: "Download windows release" | |
uses: actions/download-artifact@v2 | |
with: | |
name: backend-windows | |
path: ./output | |
- name: "Create release" | |
uses: marvinpinto/action-automatic-releases@latest | |
with: | |
repo_token: ${{ secrets.GITHUB_TOKEN }} | |
title: preview | |
prerelease: true | |
automatic_release_tag: latest | |
files: | | |
output/backend-linux-64 | |
output/backend-windows-64.exe | |
examples/config.toml |