Skip to content

Commit 6d94efa

Browse files
authored
Merge pull request #566 from LPCIC/fix-co
nix
2 parents 3313ced + 07f9b2b commit 6d94efa

File tree

2 files changed

+18
-5
lines changed

2 files changed

+18
-5
lines changed

.github/workflows/main.yml

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,20 @@ on:
1010
tags: [ "v*.*.*" ]
1111
pull_request:
1212
branches: [ master ]
13+
workflow_dispatch:
14+
inputs:
15+
suite:
16+
description: "Coq OPAM suite"
17+
required: true
18+
default: "released"
19+
type: choice
20+
options:
21+
- released
22+
- extra-dev
23+
24+
env:
25+
OPAM_SUITE: ${{ inputs.suite }}
26+
1327
jobs:
1428
build:
1529
runs-on: ubuntu-latest
@@ -49,7 +63,7 @@ jobs:
4963
release:
5064
runs-on: ubuntu-latest
5165
if: startsWith(github.ref, 'refs/tags/')
52-
needs: [build]
66+
#needs: [build]
5367
steps:
5468
- name: Checkout
5569
uses: actions/checkout@v3
@@ -98,6 +112,5 @@ jobs:
98112
eval $(opam env)
99113
git config --global user.name coqelpibot
100114
git config --global user.email [email protected]
101-
OPAM_SUITE=released
102115
TAG=`git tag --sort=-v:refname|head -1`
103-
opam-publish --tag=$TAG --packages-directory=$OPAM_SUITE/packages --repo=coq/opam --no-browser -v ${TAG##v} https://github.com/LPCIC/coq-elpi/releases/download/$TAG/coq-elpi-${TAG##v}.tar.gz
116+
opam-publish --tag=$TAG --packages-directory=${OPAM_SUITE:-released}/packages --repo=coq/opam --no-browser -v ${TAG##v} https://github.com/LPCIC/coq-elpi/releases/download/$TAG/coq-elpi-${TAG##v}.tar.gz

.nix/config.nix

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"coq-8.19".coqPackages = {
88
coq.override.version = "8.19+rc1";
99

10-
hierarchy-builder.override.version = "coq-elpi-2";
10+
hierarchy-builder.override.version = "master";
1111
hierarchy-builder-shim.job = false;
1212

1313
mathcomp.override.version = "master";
@@ -19,7 +19,7 @@
1919
mathcomp-analysis.override.version = "hierarchy-builder";
2020
mathcomp-analysis.job = true;
2121

22-
mathcomp-finmap.override.version = "2.0.0";
22+
mathcomp-finmap.override.version = "master";
2323
mathcomp-finmap.job = true;
2424

2525
mathcomp-classical.override.version = "hierarchy-builder";

0 commit comments

Comments
 (0)