GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — fix: to avoid download if lts version is not updated · phcode-dev/phnode@dab1346

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • .github/workflows
    • script.yml
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎.github/workflows/script.yml‎

Copy file name to clipboardExpand all lines: .github/workflows/script.yml
+5-3Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ jobs:
3333
echo "No new Node.js LTS version found or existing version is the same."
3434
echo "new_version=" >> $GITHUB_ENV
3535
fi
36+
env:
37+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3638

3739
- name: Download Node
3840
if: env.new_version != ''
@@ -42,13 +44,13 @@ jobs:
4244
if: env.new_version != ''
4345
id: create_release
4446
uses: ncipollo/release-action@v1
45-
env:
46-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4747
with:
4848
tag: ${{ env.new_version }}
4949
name: Node.js ${{ env.new_version }} LTS Release
5050
draft: true
5151
prerelease: false
52+
env:
53+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5254

5355
- name: Find Asset Files
5456
if: env.new_version != ''
@@ -85,4 +87,4 @@ jobs:
8587
-H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \
8688
-H "Content-Type: application/json" \
8789
--data '{"draft": false}' \
88-
"https://api.github.com/repos/${{ github.repository }}/releases/$release_id"
90+
"https://api.github.com/repos/${{ github.repository }}/releases/$release_id"

0 commit comments

Comments
0 (0)
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.