mirror of
https://github.com/0glabs/0g-chain.git
synced 2024-12-27 00:35:18 +00:00
checkout sources and install golang in ci publish job
This commit is contained in:
parent
99fe50219d
commit
f167c4b562
8
.github/workflows/ci-master.yml
vendored
8
.github/workflows/ci-master.yml
vendored
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user