Skip to content

Commit 59819fa

Browse files
committed
build: initial shell.nix
1 parent 474dfad commit 59819fa

File tree

6 files changed

+1469
-869
lines changed

6 files changed

+1469
-869
lines changed

.github/workflows/release.yml

Lines changed: 0 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -240,50 +240,3 @@ jobs:
240240
username: ${{ secrets.DOCKERHUB_USERNAME }}
241241
password: ${{ secrets.DOCKERHUB_TOKEN }}
242242
repository: fossable/goldboot
243-
244-
archlinux:
245-
name: archlinux / ${{ matrix.package }}
246-
runs-on: ubuntu-latest
247-
needs: github
248-
strategy:
249-
matrix:
250-
package:
251-
- goldboot
252-
- goldboot-registry
253-
steps:
254-
- uses: actions/checkout@v4
255-
with:
256-
fetch-tags: true
257-
258-
- name: Find version tags
259-
id: get_tags
260-
run: |
261-
for tag in $(git tag --points-at HEAD); do
262-
if [ "${tag%-*}" = "${{ matrix.package }}" ]; then
263-
echo "pkgver=${tag##*-}" >>"$GITHUB_OUTPUT"
264-
fi
265-
done
266-
267-
- uses: heyhusen/archlinux-package-action@v2
268-
with:
269-
path: dist/pacman/${{ matrix.package }}
270-
srcinfo: true
271-
pkgver: ${{ steps.get_tags.outputs.pkgver }}
272-
273-
- name: Push release to AUR
274-
env:
275-
AUR_PRIVATE_KEY: ${{ secrets.AUR_PRIVATE_KEY }}
276-
run: |
277-
echo "${AUR_PRIVATE_KEY}" >/tmp/id_rsa
278-
chmod 600 /tmp/id_rsa
279-
280-
git config --global user.name "github-actions"
281-
git config --global user.email "[email protected]"
282-
ssh-keyscan -H aur.archlinux.org >/tmp/known_hosts
283-
284-
GIT_SSH_COMMAND='ssh -i /tmp/id_rsa -o UserKnownHostsFile=/tmp/known_hosts' git submodule update --init dist/pacman/${{ matrix.package }}
285-
cd dist/pacman/${{ matrix.package }}
286-
287-
git add .SRCINFO PKGBUILD
288-
git commit -m "release: ${{ steps.get_tags.outputs.pkgver }}"
289-
GIT_SSH_COMMAND='ssh -i /tmp/id_rsa -o UserKnownHostsFile=/tmp/known_hosts' git push -u origin master

0 commit comments

Comments
 (0)