Skip to content

Commit 9ea6fc1

Browse files
committed
Package on ubuntu:20.04
1 parent 9dcb6fd commit 9ea6fc1

1 file changed

Lines changed: 6 additions & 9 deletions

File tree

.github/workflows/ci.yml

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -120,22 +120,19 @@ jobs:
120120
needs: [compute-base-build-tag, fmt, clippy, tests]
121121
runs-on: ubuntu-latest
122122
container:
123-
image: ghcr.io/${{ github.repository }}/base:${{ needs.compute-base-build-tag.outputs.image_tag }}
123+
image: ubuntu:20.04
124124
concurrency:
125125
group: ${{ github.workflow }}-${{ github.ref }}-build-package
126126
cancel-in-progress: true
127127
steps:
128128
- name: Checkout Repository
129129
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
130-
- name: Cache Cargo Target Directory
131-
uses: actions/cache@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5
130+
- name: Rust install
131+
uses: actions-rust-lang/setup-rust-toolchain@150fca883cd4034361b621bd4e6a9d34e5143606 # v1
132+
- name: Install Protoc
133+
uses: arduino/setup-protoc@c65c819552d16ad3c9b72d9dfd5ba5237b9c906b # v3
132134
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
135+
repo-token: ${{ secrets.GITHUB_TOKEN }}
139136
- name: Debian packaging
140137
env:
141138
PACKAGECLOUD_API_KEY: ${{ secrets.PACKAGECLOUD_API_KEY }}

0 commit comments

Comments
 (0)