Browse Source

Fix deprecated 'set-output' in workflow (#2220)

* Fix deprecated 'set-output' in workflow

* Update actions/stale to v7
Tim Xylon 2 years ago
parent
commit
75addbf195
2 changed files with 2 additions and 2 deletions
  1. 1 1
      .github/workflows/release.yml
  2. 1 1
      .github/workflows/stale.yml

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

@@ -113,7 +113,7 @@ jobs:
         run: |
         run: |
           export _NAME=$(jq ".[\"$GOOS-$GOARCH$GOARM\"].friendlyName" -r < release/friendly-filenames.json)
           export _NAME=$(jq ".[\"$GOOS-$GOARCH$GOARM\"].friendlyName" -r < release/friendly-filenames.json)
           echo "GOOS: $GOOS, GOARCH: $GOARCH, GOARM: $GOARM, RELEASE_NAME: $_NAME"
           echo "GOOS: $GOOS, GOARCH: $GOARCH, GOARM: $GOARM, RELEASE_NAME: $_NAME"
-          echo "::set-output name=ASSET_NAME::$_NAME"
+          echo "ASSET_NAME=$_NAME" >> $GITHUB_OUTPUT
           echo "ASSET_NAME=$_NAME" >> $GITHUB_ENV
           echo "ASSET_NAME=$_NAME" >> $GITHUB_ENV
 
 
       - name: Set up Go
       - name: Set up Go

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

@@ -8,7 +8,7 @@ jobs:
   stale:
   stale:
     runs-on: ubuntu-latest
     runs-on: ubuntu-latest
     steps:
     steps:
-      - uses: actions/stale@v5
+      - uses: actions/stale@v7
         with:
         with:
           repo-token: ${{ secrets.GITHUB_TOKEN }}
           repo-token: ${{ secrets.GITHUB_TOKEN }}
           stale-issue-message: "This issue is stale because it has been open 120 days with no activity. Remove stale label or comment or this will be closed in 5 days"
           stale-issue-message: "This issue is stale because it has been open 120 days with no activity. Remove stale label or comment or this will be closed in 5 days"