Add github action

This commit is contained in:
pader 2021-07-31 17:57:06 +08:00
parent e24ff96a15
commit 9546c953c0

View File

@ -19,10 +19,12 @@ jobs:
id: version_step id: version_step
run: | run: |
echo "##[set-output name=version;]NACOS_VERSION=${GITHUB_REF#$"refs/tags/v"}" echo "##[set-output name=version;]NACOS_VERSION=${GITHUB_REF#$"refs/tags/v"}"
- name: Check out the repo - name: Check out the repo
uses: actions/checkout@v2 uses: actions/checkout@v2
with: with:
fetch-depth: 1 fetch-depth: 1
- name: Set up QEMU - name: Set up QEMU
uses: docker/setup-qemu-action@v1 uses: docker/setup-qemu-action@v1