Try using the repository

This commit is contained in:
Greg Hellings
2024-11-15 10:29:20 -06:00
parent 4f08221a28
commit b5ce210cc4
+9 -7
View File
@@ -24,15 +24,17 @@ build:
- nix - nix
script: script:
- nix build -L - nix build -L
- ls -la - URL=${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/generic/sword-utils/${TAG}/sword-${TAG}.tar.xz
- cp result/sword.tar.xz ./sword-$TAG.tar.xz - >-
- echo "BUILD_ID=$CI_JOB_ID" > build.env curl
--fail-with-body
--header "JOB-TOKEN: ${CI_JOB_TOKEN}"
--upload-file ./result/sword.tar.xz
"${URL}"
- echo "X86_TARBALL=${URL}" > build.env
artifacts: artifacts:
paths:
- sword-$TAG.tar.xz
reports: reports:
dotenv: build.env dotenv: build.env
expire_in: never
"Create release": "Create release":
stage: release stage: release
@@ -50,4 +52,4 @@ build:
assets: assets:
links: links:
- name: Windows (x86-64) release - name: Windows (x86-64) release
url: "https://src.thehellings.com/greg/mingw-nix-build/-/jobs/$BUILD_ID/artifacts/file/sword-$TAG.tar.xz" url: "${X86_TARBALL}"