mirror of
https://github.com/dragonflydb/dragonfly
synced 2024-11-22 15:44:13 +00:00
A fix for the release pipeline
This commit is contained in:
parent
caeb60c22a
commit
6e7d3d215f
19
.github/workflows/release.yml
vendored
19
.github/workflows/release.yml
vendored
@ -5,11 +5,12 @@ on:
|
|||||||
tags:
|
tags:
|
||||||
- 'v*'
|
- 'v*'
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: write
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
create-release:
|
create-release:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
permissions:
|
|
||||||
contents: write
|
|
||||||
steps:
|
steps:
|
||||||
- name: Create Release
|
- name: Create Release
|
||||||
uses: ncipollo/release-action@v1
|
uses: ncipollo/release-action@v1
|
||||||
@ -22,8 +23,6 @@ jobs:
|
|||||||
|
|
||||||
build-qemu:
|
build-qemu:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
permissions:
|
|
||||||
contents: write
|
|
||||||
name: Build aarch64 on ubuntu20.04
|
name: Build aarch64 on ubuntu20.04
|
||||||
needs: create-release
|
needs: create-release
|
||||||
steps:
|
steps:
|
||||||
@ -66,6 +65,14 @@ jobs:
|
|||||||
--slave /usr/bin/g++ g++ /usr/bin/g++-9
|
--slave /usr/bin/g++ g++ /usr/bin/g++-9
|
||||||
run: |
|
run: |
|
||||||
cd /src
|
cd /src
|
||||||
|
touch dockerbuild.txt
|
||||||
|
chown -R root build-opt/
|
||||||
|
ls -la build-opt/_deps/ || true
|
||||||
|
echo "now /src:"
|
||||||
|
ls -l
|
||||||
|
for i in `ls -d ./build-opt/_deps/*-src`; do
|
||||||
|
git config --global --add safe.directory $(realpath $i)
|
||||||
|
done
|
||||||
./tools/release.sh
|
./tools/release.sh
|
||||||
- name: Show the artifact
|
- name: Show the artifact
|
||||||
# Items placed in /src/build-opt in the container will be in
|
# Items placed in /src/build-opt in the container will be in
|
||||||
@ -84,8 +91,6 @@ jobs:
|
|||||||
needs: create-release
|
needs: create-release
|
||||||
container:
|
container:
|
||||||
image: ghcr.io/romange/ubuntu-dev:20
|
image: ghcr.io/romange/ubuntu-dev:20
|
||||||
permissions:
|
|
||||||
contents: write
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
with:
|
with:
|
||||||
@ -114,7 +119,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
artifacts: "artifacts/dragonfly-*/*"
|
artifacts: "artifacts/dragonfly-*/*"
|
||||||
allowUpdates: true
|
allowUpdates: true
|
||||||
omitBody: true
|
|
||||||
draft: true
|
draft: true
|
||||||
prerelease: true
|
prerelease: true
|
||||||
|
omitNameDuringUpdate: true
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
Loading…
Reference in New Issue
Block a user