Browse Source

Fix set-output and node.js warnings

PF4Public 1 year ago
parent
commit
151a7e5184
2 changed files with 5 additions and 5 deletions
  1. 4 4
      .github/workflows/new_version_check.yml
  2. 1 1
      .github/workflows/stale.yml

+ 4 - 4
.github/workflows/new_version_check.yml

@@ -23,10 +23,10 @@ jobs:
       - name: Get the latest Chromium version
         id: latest-version
         run: |
-          echo "::set-output name=linux_version::$( curl -s https://omahaproxy.appspot.com/linux )"
-          echo "::set-output name=win_version::$( curl -s https://omahaproxy.appspot.com/win )"
-          echo "::set-output name=mac_version::$( curl -s https://omahaproxy.appspot.com/mac )"
-      - uses: actions/checkout@v2
+          echo "linux_version=$( curl -s https://omahaproxy.appspot.com/linux )" >> $GITHUB_OUTPUT
+          echo "win_version=$( curl -s https://omahaproxy.appspot.com/win )" >> $GITHUB_OUTPUT
+          echo "mac_version=$( curl -s https://omahaproxy.appspot.com/mac )" >> $GITHUB_OUTPUT
+      - uses: actions/checkout@v3
       - name: Create Issue for all platforms
         if: |
           contains( steps.latest-version.outputs.win_version, steps.latest-version.outputs.mac_version ) &&

+ 1 - 1
.github/workflows/stale.yml

@@ -12,7 +12,7 @@ jobs:
     stale:
         runs-on: ubuntu-latest
         steps:
-          - uses: actions/stale@v4
+          - uses: actions/stale@v6
             with:
                 exempt-all-milestones: true
                 any-of-labels: 'need info'