diff --git a/.gitea/workflows/compile.yaml b/.gitea/workflows/compile.yaml index 6de6daf..f9eac0c 100644 --- a/.gitea/workflows/compile.yaml +++ b/.gitea/workflows/compile.yaml @@ -12,9 +12,6 @@ jobs: - name: Checkout uses: actions/checkout@v4 - - name: Login to Gitea Registry - run: echo "${{ vars.OCI_ACCESS_TOKEN }}" | docker login git.drath.cc -u ${{ gitea.actor }} --password-stdin - - name: Install build deps run: apt update && apt upgrade -y && apt install gcc-riscv64-unknown-elf libnewlib-dev libudev-dev libusb-1.0-0-dev git build-essential -y @@ -22,7 +19,12 @@ jobs: run: git clone https://github.com/cnlohr/ch32fun.git $(HOME)/git/ch32fun/ch32fun - name: Compile binary - run: make build -j8 + run: make - # - name: Push image - # run: docker push git.drath.cc/${{ gitea.repository }}:latest + - name: Upload firmware artifact + uses: actions/upload-artifact@v4 + with: + name: firmware-binary + path: | + build/*.bin + build/*.elf