Skip to content

Commit

Permalink
Build it
Browse files Browse the repository at this point in the history
  • Loading branch information
bjonnh committed Feb 24, 2024
1 parent 914b4b8 commit 9e61ccb
Showing 1 changed file with 5 additions and 23 deletions.
28 changes: 5 additions & 23 deletions .github/workflows/build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,27 +24,9 @@ jobs:

- name: Build PlatformIO Project
run: pio run
- name: Create Draft Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
tag_name: notag
release_name: dinoctopus
draft: true
prerelease: false
- uses: actions/upload-release-asset@v1.0.1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: .pio/build/pico/firmware.uf2
asset_name: dinoctopus.uf2
asset_content_type: application/octet-stream

- uses: eregon/publish-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
release_id: ${{ steps.create_release.outputs.id }}
files: |
.pio/build/pico/firmware.uf2

0 comments on commit 9e61ccb

Please sign in to comment.