Skip to content

Commit

Permalink
use COMMIT_SHA
Browse files Browse the repository at this point in the history
  • Loading branch information
henkwiedig committed Nov 12, 2024
1 parent 356f3e0 commit c121d40
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,13 @@ jobs:
./build.sh x86
- name: Build OpenIPC
env:
MSPOSD_VERSION: ${{ env.COMMIT_SHA }}
run: |
sudo apt-get update
DEBIAN_FRONTEND=noninteractive TZ=Etc/UTC sudo apt-get -y install git make wget gcc libevent-dev libcsfml-dev file g++ cpio unzip rsync bc bzip2
cd firmware
make BOARD=ssc338q_fpv MSPOSD_VERSION=${GITHUB_SHA} MSPOSD_SITE="https://github.com/${GITHUB_REPOSITORY}/archive/refs/tags/${MSPOSD_VERSION}.tar.gz" br-msposd
make BOARD=ssc338q_fpv MSPOSD_VERSION=${MSPOSD_VERSION} MSPOSD_SITE="https://github.com/${GITHUB_REPOSITORY}/archive/refs/tags/${MSPOSD_VERSION}.tar.gz" br-msposd
- name: Upload binary
uses: actions/upload-artifact@v4
Expand Down

0 comments on commit c121d40

Please sign in to comment.