Skip to content

Commit

Permalink
Merge branch 'main' of github.com:tonym128/ArduRacerFx
Browse files Browse the repository at this point in the history
  • Loading branch information
tonym128 committed Dec 5, 2023
2 parents dd5b675 + f303fda commit 7826eba
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ jobs:
# upload our artifact
- name: Store artifact
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: ArduRacerFx
path: release/
Expand Down
18 changes: 13 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
on:
push:
# Sequence of patterns matched against refs/tags
tags:
- 'v*' # Push events to matching v*, i.e. v1.0, v20.15.10
workflow_run:
workflows: ["Build"]
types:
- completed

name: Upload Release Asset

Expand All @@ -11,8 +11,16 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
if: startsWith(github.ref, 'refs/tags/')
uses: actions/checkout@v3
- uses: actions/download-artifact@v3
if: startsWith(github.ref, 'refs/tags/')
id: download
with:
name: 'ArduRacerFx'
path: /artifacts
- name: Release
if: startsWith(github.ref, 'refs/tags/')
uses: softprops/action-gh-release@v1
with:
files: ArduRacerFx
files: /artifacts

0 comments on commit 7826eba

Please sign in to comment.