Skip to content

Commit

Permalink
Fix actions (#10)
Browse files Browse the repository at this point in the history
* update upload-artifact to v3

* Allow curl redirects

* Change arm-gcc to [email protected] (macOS)

* update checkout to v3

* update upload-artifact to v4

* update checkout to v4
  • Loading branch information
erique authored Oct 1, 2024
1 parent 6bec644 commit fd68e95
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/Replay_Boot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
Build_R1_Firmware:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
fetch-depth: 0

Expand All @@ -37,7 +37,7 @@ jobs:
mkdir -p $GITHUB_WORKSPACE/artifact
find . -maxdepth 1 -type f -name "*.zip" -exec mv {} $GITHUB_WORKSPACE/artifact \;
- uses: actions/upload-artifact@v1
- uses: actions/upload-artifact@v4
with:
name: R1_Firmware
path: artifact
Expand All @@ -53,7 +53,7 @@ jobs:
Verify_MacOSX_Build:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
fetch-depth: 0

Expand All @@ -65,7 +65,7 @@ jobs:
brew tap ArmMbed/homebrew-formulae
brew tap-new $USER/armmbed
brew extract --version=8-2018-q4-major armmbed/homebrew-formulae/arm-none-eabi-gcc $USER/armmbed
brew install arm-none-eabi-gcc@8-2018-q4-major
brew install arm-none-eabi-gcc@8.2018.4
arm-none-eabi-gcc -v
- name: Build
Expand All @@ -76,7 +76,7 @@ jobs:
Verify_Windows_Build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
fetch-depth: 0

Expand All @@ -95,7 +95,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
fetch-depth: 0

Expand All @@ -111,7 +111,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
fetch-depth: 0

Expand All @@ -132,7 +132,7 @@ jobs:
mkdir -p $GITHUB_WORKSPACE/artifact
find . -maxdepth 1 -type f -name "*.zip" -exec mv {} $GITHUB_WORKSPACE/artifact \;
- uses: actions/upload-artifact@v1
- uses: actions/upload-artifact@v4
with:
name: replay_mkrvidor4000
path: artifact
Expand Down
6 changes: 3 additions & 3 deletions Replay_Boot/install_arduino_vidor.sh
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ mkdir -p "$ARDUINO_PATH/portable"
if [ ! -f "$ARDUINO_PATH/arduino" ]; then
if [[ "$OSTYPE" =~ "linux" ]]; then
echo -ne "${ORANGE}DOWNLOADING... \n${LCYAN}"
curl -f -# http://downloads.arduino.cc/arduino-${ARDUINO_IDE_VERSION}-linux64.tar.xz -o arduino.tar.xz 2>&1
curl -L -f -# http://downloads.arduino.cc/arduino-${ARDUINO_IDE_VERSION}-linux64.tar.xz -o arduino.tar.xz 2>&1
RET=$?
echo -ne "${ORANGE} DOWNLOADED "
if [ $RET -ne 0 ]; then echo -ne "${FAIL_MSG} "; else echo -ne "${PASS_MSG} "; fi
Expand All @@ -57,7 +57,7 @@ if [ ! -f "$ARDUINO_PATH/arduino" ]; then
if [ -f arduino.tar.xz ]; then rm arduino.tar.xz; fi
elif [[ "$OSTYPE" == "msys" ]]; then
echo -ne "${ORANGE}DOWNLOADING... \n${LCYAN}"
curl -f -# http://downloads.arduino.cc/arduino-${ARDUINO_IDE_VERSION}-windows.zip -o arduino.zip 2>&1
curl -L -f -# http://downloads.arduino.cc/arduino-${ARDUINO_IDE_VERSION}-windows.zip -o arduino.zip 2>&1
RET=$?
echo -ne "${ORANGE} DOWNLOADED "
if [ $RET -ne 0 ]; then echo -ne "${FAIL_MSG} "; else echo -ne "${PASS_MSG} "; fi
Expand All @@ -71,7 +71,7 @@ if [ ! -f "$ARDUINO_PATH/arduino" ]; then
if [ -f arduino.zip ]; then rm arduino.zip; fi
elif [[ "$OSTYPE" =~ "darwin" ]]; then
echo -ne "${ORANGE}DOWNLOADING... \n${LCYAN}"
curl -f -# http://downloads.arduino.cc/arduino-${ARDUINO_IDE_VERSION}-macosx.zip -o arduino.zip 2>&1
curl -L -f -# http://downloads.arduino.cc/arduino-${ARDUINO_IDE_VERSION}-macosx.zip -o arduino.zip 2>&1
RET=$?
echo -ne "${ORANGE} DOWNLOADED "
if [ $RET -ne 0 ]; then echo -ne "${FAIL_MSG} "; else echo -ne "${PASS_MSG} "; fi
Expand Down

0 comments on commit fd68e95

Please sign in to comment.