Browse Source

update actions.

SakiKawasaki 5 năm trước cách đây
mục cha
commit
d5d4f398be
2 tập tin đã thay đổi với 2 bổ sung14 xóa
  1. 1 7
      .github/workflows/gh-pages.yml
  2. 1 7
      .github/workflows/tests.yml

+ 1 - 7
.github/workflows/gh-pages.yml

@@ -23,19 +23,13 @@ jobs:
       nim_version: '1.2.0'
     steps:
       - uses: actions/checkout@v1
-      - name: Cache choosenim
-        id: cache-choosenim
-        uses: actions/cache@v1
-        with:
-          path: ~/.choosenim
-          key: ${{ runner.os }}-choosenim-${{ env.nim_version }}
       - name: Cache nimble
         id: cache-nimble
         uses: actions/cache@v1
         with:
           path: ~/.nimble
           key: ${{ runner.os }}-nimble-${{ hashFiles('*.nimble') }}
-      - uses: jiro4989/setup-nim-action@v1.0.2
+      - uses: jiro4989/setup-nim-action@v1
         with:
           nim-version: ${{ env.nim_version }}
 

+ 1 - 7
.github/workflows/tests.yml

@@ -32,19 +32,13 @@ jobs:
       TIMEOUT_EXIT_STATUS: 124
     steps:
       - uses: actions/checkout@v1
-      - name: Cache choosenim
-        id: cache-choosenim
-        uses: actions/cache@v1
-        with:
-          path: ~/.choosenim
-          key: ${{ runner.os }}-choosenim-${{ matrix.nim_version }}
       - name: Cache nimble
         id: cache-nimble
         uses: actions/cache@v1
         with:
           path: ~/.nimble
           key: ${{ runner.os }}-nimble-${{ hashFiles('*.nimble') }}
-      - uses: jiro4989/setup-nim-action@v1.0.2
+      - uses: jiro4989/setup-nim-action@v1
         with:
           nim-version: ${{ matrix.nim_version }}