mirror of
https://github.com/EyeTrackVR/OpenIris.git
synced 2025-11-04 15:39:42 +08:00
update
- migrate to official 1.0.0 release
This commit is contained in:
parent
be8c9daeb8
commit
be1530b5c2
28
.github/workflows/build_release_bins.yml
vendored
28
.github/workflows/build_release_bins.yml
vendored
@ -2,13 +2,13 @@ name: Build and Release the OpenIris bin files
|
||||
on:
|
||||
push:
|
||||
tags:
|
||||
- 'v[0-9]+.[0-9]+.[0-9]+'
|
||||
- 'v[12].[0-9]+.[0-9]+'
|
||||
branches:
|
||||
- "feature/mdns-autodiscovery"
|
||||
- "master"
|
||||
pull_request:
|
||||
tags:
|
||||
- 'v[0-9]+.[0-9]+.[0-9]+'
|
||||
- 'v[12].[0-9]+.[0-9]+'
|
||||
branches:
|
||||
- "master"
|
||||
workflow_dispatch:
|
||||
@ -56,12 +56,12 @@ jobs:
|
||||
- name: Build OpenIris Firmware
|
||||
working-directory: ./ESP
|
||||
run: pio run --environment ${{ matrix.targets }}
|
||||
- name: Archive Version File
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: version
|
||||
path: ./ESP/tools/version.txt
|
||||
retention-days: 1
|
||||
#- name: Archive Version File
|
||||
# uses: actions/upload-artifact@v3
|
||||
# with:
|
||||
# name: version
|
||||
# path: ./ESP/tools/version.txt
|
||||
# retention-days: 1
|
||||
- name: Archive Firmware name File
|
||||
# create an environment variable with the name of the firmware file by catting the firmware_name.txt file
|
||||
run: echo "FIRMWARE_NAME=$(cat ./ESP/tools/firmware_name.txt)" >> $GITHUB_ENV
|
||||
@ -82,11 +82,17 @@ jobs:
|
||||
path: release
|
||||
- name: Create Env Variable with Version
|
||||
run: echo "VERSION=$(cat ./release/version/version.txt)" >> $GITHUB_ENV
|
||||
- name: Create tag name
|
||||
uses: rickstaa/action-create-tag@v1
|
||||
#- name: Create tag name
|
||||
# uses: rickstaa/action-create-tag@v1
|
||||
# with:
|
||||
# tag: ${{ env.VERSION }}
|
||||
# message: "Latest release of OpenIris firmware"
|
||||
- name: Create version tag
|
||||
uses: laputansoft/github-tag-action@v4.6
|
||||
with:
|
||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
tag: ${{ env.VERSION }}
|
||||
message: "Latest release of OpenIris firmware"
|
||||
create_annotated_tag: true
|
||||
- name: Release Firmware
|
||||
uses: ncipollo/release-action@v1
|
||||
if: startsWith(github.ref, 'refs/tags/v')
|
||||
|
||||
@ -1 +1 @@
|
||||
v1.0.1
|
||||
v1.0.0
|
||||
Loading…
Reference in New Issue
Block a user