Skip to content

Commit

Permalink
Improve release building - add checking for uncommitted changes (#67) (
Browse files Browse the repository at this point in the history
…#68)

* Improve release building - add checking for uncommitted changes (#67)

* Improve release building - add checking for uncommitted changes (#67)
  • Loading branch information
TheSomeMan authored Oct 20, 2024
1 parent fb28346 commit 22e98a2
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 8 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/build-fw.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,9 @@ jobs:
- name: Install nRF Command Line Tools
run: |
wget -q https://nsscprodmedia.blob.core.windows.net/prod/software-and-other-downloads/desktop-software/nrf-command-line-tools/sw/versions-10-x-x/10-24-2/nrf-command-line-tools_10.24.2_amd64.deb
sudo dpkg -i nrf-command-line-tools_10.24.2_amd64.deb
wget -q -P ~ https://nsscprodmedia.blob.core.windows.net/prod/software-and-other-downloads/desktop-software/nrf-command-line-tools/sw/versions-10-x-x/10-24-2/nrf-command-line-tools_10.24.2_amd64.deb
sudo dpkg -i ~/nrf-command-line-tools_10.24.2_amd64.deb
rm -f ~/nrf-command-line-tools_10.24.2_amd64.deb
- name: Install Arm GNU Toolchain (arm-none-eabi-gcc)
uses: carlosperate/arm-none-eabi-gcc-action@v1
Expand All @@ -56,8 +57,9 @@ jobs:
- name: Download and install Nordic SDK nRF5_SDK_15.3.0_59ac345
if: steps.cache-nRF5_SDK.outputs.cache-hit != 'true'
run: |
wget -q https://developer.nordicsemi.com/nRF5_SDK/nRF5_SDK_v15.x.x/nRF5_SDK_15.3.0_59ac345.zip
unzip -q nRF5_SDK_15.3.0_59ac345.zip -d ~
wget -q -P ~ https://developer.nordicsemi.com/nRF5_SDK/nRF5_SDK_v15.x.x/nRF5_SDK_15.3.0_59ac345.zip
unzip -q ~/nRF5_SDK_15.3.0_59ac345.zip -d ~
rm -f ~/nRF5_SDK_15.3.0_59ac345.zip
- name: Get short commit hash if no tags
id: get-version
Expand Down
10 changes: 6 additions & 4 deletions .github/workflows/build-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,9 @@ jobs:
- name: Install nRF Command Line Tools
run: |
wget -q https://nsscprodmedia.blob.core.windows.net/prod/software-and-other-downloads/desktop-software/nrf-command-line-tools/sw/versions-10-x-x/10-24-2/nrf-command-line-tools_10.24.2_amd64.deb
sudo dpkg -i nrf-command-line-tools_10.24.2_amd64.deb
wget -q -P ~ https://nsscprodmedia.blob.core.windows.net/prod/software-and-other-downloads/desktop-software/nrf-command-line-tools/sw/versions-10-x-x/10-24-2/nrf-command-line-tools_10.24.2_amd64.deb
sudo dpkg -i ~/nrf-command-line-tools_10.24.2_amd64.deb
rm -f ~/nrf-command-line-tools_10.24.2_amd64.deb
- name: Install Arm GNU Toolchain (arm-none-eabi-gcc)
uses: carlosperate/arm-none-eabi-gcc-action@v1
Expand All @@ -53,8 +54,9 @@ jobs:
- name: Download and install Nordic SDK nRF5_SDK_15.3.0_59ac345
if: steps.cache-nRF5_SDK.outputs.cache-hit != 'true'
run: |
wget -q https://developer.nordicsemi.com/nRF5_SDK/nRF5_SDK_v15.x.x/nRF5_SDK_15.3.0_59ac345.zip
unzip -q nRF5_SDK_15.3.0_59ac345.zip -d ~
wget -q -P ~ https://developer.nordicsemi.com/nRF5_SDK/nRF5_SDK_v15.x.x/nRF5_SDK_15.3.0_59ac345.zip
unzip -q ~/nRF5_SDK_15.3.0_59ac345.zip -d ~
rm -f ~/nRF5_SDK_15.3.0_59ac345.zip
- name: Get Version from Tag
id: get-version
Expand Down

0 comments on commit 22e98a2

Please sign in to comment.