fork/gdu
git clone https://git.julia.blue/fork/gdu
0e947bf
ignore
1name : Release 2on : 3push : 4tags : 5- 'v*' 6 7jobs : 8release : 9runs-on : ubuntu-latest 10steps : 11- name : Install Go 12uses : actions/setup-go@v7 13with : 14go-version : 1.26.x 15- name : Checkout 16uses : actions/checkout@v7 17- name : Run tests 18run : go test -v -covermode=count ./... 19- name : Install tooling 20run : go install github.com/mitchellh/gox@latest 21- name : Import GPG key 22run : | 23echo "$GPG_PRIVATE_KEY" | gpg --batch --import 24echo "allow-loopback-pinentry" >> ~/.gnupg/gpg-agent.conf 25echo "use-agent" >> ~/.gnupg/gpg.conf 26env : 27GPG_PRIVATE_KEY : ${{ secrets.PRIVATE_GPG_KEY }} 28- name : Build 29run : | 30make clean 31make tarball 32make build-all 33make man 34make clean-uncompressed-dist 35cd dist 36sha256sum * > sha256sums.txt 37gpg --yes --pinentry-mode loopback --passphrase "$GPG_PASSPHRASE" --sign --armor --detach-sign sha256sums.txt 38env : 39GPG_PASSPHRASE : ${{ secrets.GPG_PASSPHRASE }} 40- name : Release 41uses : softprops/action-gh-release@v3 42with : 43draft : true 44files : | 45dist/* 46generate_release_notes : true