Trying elves again

raytac-diy
Ben Meadors 2022-08-11 07:07:04 -05:00
rodzic 8148f06773
commit 780f4383f4
2 zmienionych plików z 9 dodań i 4 usunięć

Wyświetl plik

@ -403,7 +403,7 @@ jobs:
artifacts-dir: pr
artifacts: ./firmware-${{ steps.version.outputs.version }}.zip
- name: Verify Changed files
- name: Verify version.properties change
uses: tj-actions/verify-changed-files@v10.1
id: verify-changed-files
with:
@ -417,7 +417,7 @@ jobs:
with:
draft: true
prerelease: true
release_name: ${{ steps.version.outputs.version }} alpha
release_name: Meshtastic Device ${{ steps.version.outputs.version }} alpha - Public Preview
tag_name: v${{ steps.version.outputs.version }}
body: |
Autogenerated by github action, developer should edit as required before publishing...
@ -435,6 +435,11 @@ jobs:
asset_name: firmware-${{ steps.version.outputs.version }}.zip
asset_content_type: application/zip
- uses: actions/download-artifact@v2
with:
name: debug-elfs-${{ steps.version.outputs.version }}.zip
path: ./
- name: Add debug elfs to release
uses: actions/upload-release-asset@v1
if: contains(steps.verify-changed-files.outputs.changed_files, 'version.properties') && ${{ github.event_name != 'pull_request_target' && github.event_name != 'pull_request' }}
@ -442,6 +447,6 @@ jobs:
GITHUB_TOKEN: ${{ github.token }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./*.elf
asset_path: ./debug-elfs-${{ steps.version.outputs.version }}.zip
asset_name: debug-elfs-${{ steps.version.outputs.version }}.zip
asset_content_type: application/zip

Wyświetl plik

@ -1,4 +1,4 @@
[VERSION]
major = 1
minor = 3
build = 36
build = 36