diff --git a/.github/workflows/update-formulas.yml b/.github/workflows/update-casks.yml similarity index 89% rename from .github/workflows/update-formulas.yml rename to .github/workflows/update-casks.yml index d369c03a..ef3b1f63 100644 --- a/.github/workflows/update-formulas.yml +++ b/.github/workflows/update-casks.yml @@ -1,5 +1,5 @@ --- -name: Update Formulas +name: Update Casks on: schedule: - cron: "0 3 * * *" @@ -11,7 +11,7 @@ on: default: "" jobs: - update: + update-casks: runs-on: macos-10.15 steps: - name: Checkout tap repository @@ -26,7 +26,7 @@ jobs: - name: brew livecheck run: >- brew livecheck --json --quiet --tap jimeh/emacs-builds - > livecheck-results.json + | tee livecheck-results.json - name: Upload livecheck-results.json artifact uses: actions/upload-artifact@v2 with: @@ -37,22 +37,20 @@ jobs: uses: actions/checkout@v2 with: repository: jimeh/build-emacs-for-macos - ref: "v0.6.2" + ref: "v0.6.6" path: builder - uses: actions/setup-go@v2 with: go-version: 1.16 - uses: actions/cache@v2 - id: builder-cache with: path: ~/go/pkg/mod key: ${{ runner.os }}-go-${{ hashFiles('builder/**/go.sum') }} restore-keys: ${{ runner.os }}-go- - name: Build emacs-builder tool - if: steps.cache.outputs.cache-hit != 'true' run: make build working-directory: builder - - name: Update Cask formulas + - name: Update casks run: >- builder/bin/emacs-builder cask --builds-repository jimeh/emacs-builds diff --git a/README.md b/README.md index 0962936e..e7810a74 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@