Skip to content

Commit e8aeaea

Browse files
authoredJul 16, 2022
wip fix release drafter (#216)
1 parent 22db18c commit e8aeaea

File tree

1 file changed

+35
-34
lines changed

1 file changed

+35
-34
lines changed
 

‎.github/workflows/nim.yml

+35-34
Original file line numberDiff line numberDiff line change
@@ -38,28 +38,28 @@ jobs:
3838
- 1.6.0
3939
- stable
4040
steps:
41-
- uses: actions/checkout@v2
42-
- name: Cache choosenim
43-
id: cache-choosenim
44-
uses: actions/cache@v1
45-
with:
46-
path: ~/.choosenim
47-
key: ${{ runner.os }}-choosenim-${{ matrix.nim-version }}
48-
- name: Cache nimble
49-
id: cache-nimble
50-
uses: actions/cache@v1
51-
with:
52-
path: ~/.nimble
53-
key: ${{ runner.os }}-nimble-${{ matrix.nim-version }}
54-
- uses: jiro4989/setup-nim-action@v1
55-
with:
56-
nim-version: ${{ matrix.nim-version }}
57-
- name: Package Refresh
58-
run: nimble refresh
59-
- name: Build
60-
run: nimble build -Y
61-
- name: Install
62-
run: nimble install -Y
41+
- uses: actions/checkout@v2
42+
- name: Cache choosenim
43+
id: cache-choosenim
44+
uses: actions/cache@v1
45+
with:
46+
path: ~/.choosenim
47+
key: ${{ runner.os }}-choosenim-${{ matrix.nim-version }}
48+
- name: Cache nimble
49+
id: cache-nimble
50+
uses: actions/cache@v1
51+
with:
52+
path: ~/.nimble
53+
key: ${{ runner.os }}-nimble-${{ matrix.nim-version }}
54+
- uses: jiro4989/setup-nim-action@v1
55+
with:
56+
nim-version: ${{ matrix.nim-version }}
57+
- name: Package Refresh
58+
run: nimble refresh
59+
- name: Build
60+
run: nimble build -Y
61+
- name: Install
62+
run: nimble install -Y
6363

6464
test-on-docker:
6565
runs-on: ubuntu-latest
@@ -70,17 +70,17 @@ jobs:
7070
- 1.6.4-ubuntu-regular
7171
- 1.6.6-ubuntu-regular
7272
steps:
73-
- uses: actions/checkout@v2
74-
- name: Build docker image
75-
run: docker-compose build --build-arg IMAGE_TAG=${{ matrix.image-tag }} app-ubuntu
76-
- name: Test
77-
run: docker-compose run app-ubuntu sh /root/project/runTest.sh
78-
- name: Test multi-thread
79-
run: |
80-
echo '' >> tests/config.nims
81-
echo 'switch("threads", "on")' >> tests/config.nims
82-
echo 'switch("threadAnalysis", "off")' >> tests/config.nims
83-
docker-compose run app-ubuntu sh /root/project/runTest.sh
73+
- uses: actions/checkout@v2
74+
- name: Build docker image
75+
run: docker-compose build --build-arg IMAGE_TAG=${{ matrix.image-tag }} app-ubuntu
76+
- name: Test
77+
run: docker-compose run app-ubuntu sh /root/project/runTest.sh
78+
- name: Test multi-thread
79+
run: |
80+
echo '' >> tests/config.nims
81+
echo 'switch("threads", "on")' >> tests/config.nims
82+
echo 'switch("threadAnalysis", "off")' >> tests/config.nims
83+
docker-compose run app-ubuntu sh /root/project/runTest.sh
8484
8585
create-tag-draft:
8686
runs-on: ubuntu-latest
@@ -89,6 +89,7 @@ jobs:
8989
- build
9090
- test-on-docker
9191
steps:
92-
- uses: release-drafter/release-drafter@v5.3.1
92+
- name: Release Drafter
93+
uses: release-drafter/release-drafter@v5.19.0
9394
env:
9495
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)
Please sign in to comment.