Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prepare next release (#3267) #3270

Merged
merged 1 commit into from
Sep 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/label-commenter-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -115,9 +115,9 @@
labeled:
issue:
body: |
See [Digital Digits](https://jomjol.github.io/neural-network-digital-counter-readout) resp. [Analogue Pointers](https://jomjol.github.io/neural-network-analog-needle-readout) for an overview of all trained data.
See [Digits](https://jomjol.github.io/neural-network-digital-counter-readout) resp. [Analogue Pointers](https://jomjol.github.io/neural-network-analog-needle-readout) for an overview of all trained data.
If your type is not contained it can be added to our training material, see [here](https://jomjol.github.io/AI-on-the-edge-device-docs/collect-new-images/).
discussion:
body: |
See [Digital Digits](https://jomjol.github.io/neural-network-digital-counter-readout) resp. [Analogue Pointers](https://jomjol.github.io/neural-network-analog-needle-readout) for an overview of all trained data.
See [Digits](https://jomjol.github.io/neural-network-digital-counter-readout) resp. [Analogue Pointers](https://jomjol.github.io/neural-network-analog-needle-readout) for an overview of all trained data.
If your type is not contained it can be added to our training material, see [here](https://jomjol.github.io/AI-on-the-edge-device-docs/collect-new-images/).
27 changes: 13 additions & 14 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
uses: fkirc/skip-duplicate-actions@v5
with:
concurrent_skipping: same_content_newer

- uses: actions/checkout@v4
with:
submodules: recursive
Expand All @@ -37,14 +37,14 @@ jobs:
path: ~/.platformio
key: platformio-${{ github.run_id }}
restore-keys: platformio # This matches above key as it is only used as a prefix. it the restores the nearest cache, see https://github.com/restore-keys:/blob/main/tips-and-workarounds.md#update-a-cache

- name: Update Build cache on every commit
uses: actions/cache@v4
with:
path: ./code/.pio/
key: build-${{ github.run_id }}
restore-keys: build # This matches above key as it is only used as a prefix. it the restores the nearest cache, see https://github.com/restore-keys:/blob/main/tips-and-workarounds.md#update-a-cache

- name: Update generated-files cache on every commit
uses: actions/cache@v4
with:
Expand Down Expand Up @@ -86,7 +86,7 @@ jobs:

echo "Replacing variables..."
cd html; find . -type f -exec sed -i 's/$COMMIT_HASH/${{ steps.vars.outputs.sha_short }}/g' {} \;


#########################################################################################
## Pack for Update
Expand Down Expand Up @@ -120,7 +120,7 @@ jobs:
path: update
key: update-${{ github.run_id }}
restore-keys: update # This matches above key as it is only used as a prefix. it the restores the nearest cache, see https://github.com/restore-keys:/blob/main/tips-and-workarounds.md#update-a-cache

- name: Set Variables
id: vars
run: |
Expand Down Expand Up @@ -150,7 +150,6 @@ jobs:
path: ./update/*



#########################################################################################
## Pack for Remote Setup
#########################################################################################
Expand All @@ -176,7 +175,7 @@ jobs:
./html/*
key: generated-files-${{ github.run_id }}
restore-keys: generated-files # This matches above key as it is only used as a prefix. it the restores the nearest cache, see https://github.com/restore-keys:/blob/main/tips-and-workarounds.md#update-a-cache

- name: Update remote_setup cache on every commit
uses: actions/cache@v4
with:
Expand Down Expand Up @@ -261,7 +260,7 @@ jobs:
cp -r ./html ./sd-card/ # Overwrite the Web UI with the preprocessed files
cd sd-card; zip -r ../manual_setup/sd-card.zip *; cd ..
cd ./manual_setup

- name: Upload manual_setup.zip artifact (Firmware + Bootloader + Partitions + Web UI)
uses: actions/upload-artifact@v4
with:
Expand All @@ -285,21 +284,21 @@ jobs:

steps:
- uses: actions/checkout@v4

- name: Update update cache on every commit
uses: actions/cache@v4
with:
path: update
key: update-${{ github.run_id }}
restore-keys: update # This matches above key as it is only used as a prefix. it the restores the nearest cache, see https://github.com/restore-keys:/blob/main/tips-and-workarounds.md#update-a-cache

- name: Update remote_setup cache on every commit
uses: actions/cache@v4
with:
path: remote_setup
key: remote_setup-${{ github.run_id }}
restore-keys: remote_setup # This matches above key as it is only used as a prefix. it the restores the nearest cache, see https://github.com/restore-keys:/blob/main/tips-and-workarounds.md#update-a-cache

- name: Update manual_setup cache on every commit
uses: actions/cache@v4
with:
Expand Down Expand Up @@ -342,7 +341,7 @@ jobs:
# with:
# changelogPath: Changelog.md
# version: ${{ steps.get_version.outputs.version-without-v }}

# # the release notes will be extracted from changelog
# - name: Extract release notes
# id: extract-release-notes
Expand Down Expand Up @@ -397,15 +396,15 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Get version of last release
id: last_release
uses: mindojo/get-latest-release@0b8ef1434d7468d6bffcc8263baff5c777f72321
with:
myToken: ${{ github.token }}
exclude_types: "draft|prerelease"
view_top: 1

- name: Add binary to Web Installer and update manifest
run: |
echo "Updating Web installer to use firmware from ${{ steps.last_release.outputs.tag_name }}..."
Expand Down
7 changes: 3 additions & 4 deletions .github/workflows/manual-update-webinstaller.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ on:
# - rolling
# paths:
# - docs # The path filter somehow does not work, so lets run it on every change to rolling

jobs:
manually-update-web-installer:
environment:
Expand All @@ -29,15 +29,15 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v3

- name: Get version of last release
id: last_release
uses: mindojo/get-latest-release@0b8ef1434d7468d6bffcc8263baff5c777f72321
with:
myToken: ${{ github.token }}
exclude_types: "draft|prerelease"
view_top: 1

- name: Add binary to Web Installer and update manifest
run: |
echo "Updating Web installer to use firmware from ${{ steps.last_release.outputs.tag_name }}..."
Expand All @@ -60,4 +60,3 @@ jobs:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v1

9 changes: 4 additions & 5 deletions .github/workflows/reply-bot.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,8 @@ jobs:
comment:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3


- uses: actions/checkout@v4

####################################################################
## Remove labels again (issues only)
## Make sure to also add the reply message to .github/label-commenter-config.yaml!
Expand Down Expand Up @@ -69,12 +68,12 @@ jobs:
# with:
# actions: 'remove-labels'
# labels: 'bot-reply Show Trained Digits/Pointers'

####################################################################
## Write the response
####################################################################
- name: Write Response
uses: peaceiris/actions-label-commenter@v1
uses: peaceiris/actions-label-commenter@c2d00660c86f2b9ed0fb35b372c451558eba85b3
with:
github_token: "${{ secrets.GITHUB_TOKEN }}"
config_file: .github/label-commenter-config.yaml
Loading
Loading