@@ -117,25 +117,27 @@ jobs:
117117
118118 build-package :
119119 if : startsWith(github.ref, 'refs/tags/')
120- needs : [compute-base-build-tag, fmt, clippy, tests]
120+ needs : [fmt, clippy, tests]
121121 runs-on : ubuntu-latest
122- container :
123- image : ghcr.io/${{ github.repository }}/base:${{ needs.compute-base-build-tag.outputs.image_tag }}
124122 concurrency :
125123 group : ${{ github.workflow }}-${{ github.ref }}-build-package
126124 cancel-in-progress : true
127125 steps :
128- - name : Checkout Repository
126+ - name : Install Dependencies
127+ run : |
128+ export DEBIAN_FRONTEND=noninteractive
129+ apt-get update
130+ apt-get install -y tzdata curl build-essential pkg-config libssl-dev clang lld cmake unzip git
131+ ln -fs /usr/share/zoneinfo/UTC /etc/localtime
132+ dpkg-reconfigure -f noninteractive tzdata
133+ - name : Checkout
129134 uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
130- - name : Cache Cargo Target Directory
131- uses : actions/cache@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5
135+ - name : Rust install
136+ uses : actions-rust-lang/setup-rust-toolchain@150fca883cd4034361b621bd4e6a9d34e5143606 # v1
137+ - name : Install Protoc
138+ uses : arduino/setup-protoc@c65c819552d16ad3c9b72d9dfd5ba5237b9c906b # v3
132139 with :
133- path : target
134- key : build-base-${{ needs.compute-base-build-tag.outputs.image_tag }}-${{ hashFiles('**/Cargo.lock') }}
135- restore-keys : |
136- build-base-${{ needs.compute-base-build-tag.outputs.image_tag }}-
137- - name : Build release binary
138- run : cargo build --release
140+ repo-token : ${{ secrets.GITHUB_TOKEN }}
139141 - name : Debian packaging
140142 env :
141143 PACKAGECLOUD_API_KEY : ${{ secrets.PACKAGECLOUD_API_KEY }}
0 commit comments