Try using the repository
This commit is contained in:
+9
-7
@@ -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}"
|
||||||
|
|||||||
Reference in New Issue
Block a user