checkout sources and install golang in ci publish job

This commit is contained in:
Levi Schoen 2022-11-30 14:49:03 -08:00
parent 99fe50219d
commit f167c4b562

View File

@ -18,6 +18,14 @@ jobs:
needs: [lint-checks, default-checks] needs: [lint-checks, default-checks]
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: checkout repo from current commit
uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: '1.18'
check-latest: true
cache: true
- name: set build tag - name: set build tag
run: echo "BUILD_TAG=$(date +%s)-$(git rev-parse HEAD | cut -c 1-8)" >> $GITHUB_ENV run: echo "BUILD_TAG=$(date +%s)-$(git rev-parse HEAD | cut -c 1-8)" >> $GITHUB_ENV
- name: build rocksdb dependency - name: build rocksdb dependency