From a5c1b6a1965860fead13434db893529f36645b05 Mon Sep 17 00:00:00 2001 From: Asher Date: Thu, 26 Mar 2026 12:03:05 -0800 Subject: [PATCH] Use inputs instead of github.event.inputs Just to be consistent with the other workflow. They are the same except inputs treats booleans as booleans instead of strings, which seems like it might be better anyway. --- .github/workflows/publish.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index 16d5d578e..71b2eef04 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -36,7 +36,7 @@ jobs: uses: robinraju/release-downloader@daf26c55d821e836577a15f77d86ddc078948b05 # v1.12 with: repository: "coder/code-server" - tag: ${{ github.event.inputs.version || github.ref_name }} + tag: ${{ inputs.version || github.ref_name }} fileName: "package.tar.gz" out-file-path: "release-npm-package" @@ -46,7 +46,7 @@ jobs: echo "VERSION=${TAG#v}" >> $GITHUB_ENV env: - TAG: ${{ github.event.inputs.version || github.ref_name }} + TAG: ${{ inputs.version || github.ref_name }} - run: npm run publish:npm env: VERSION: ${{ env.VERSION }} @@ -92,7 +92,7 @@ jobs: echo "VERSION=${TAG#v}" >> $GITHUB_ENV env: - TAG: ${{ github.event.inputs.version || github.ref_name }} + TAG: ${{ inputs.version || github.ref_name }} - name: Validate package uses: heyhusen/archlinux-package-action@c9f94059ccbebe8710d31d582f33ef4e84fe575c # v3.0.0 env: @@ -145,7 +145,7 @@ jobs: echo "VERSION=${TAG#v}" >> $GITHUB_ENV env: - TAG: ${{ github.event.inputs.version || github.ref_name }} + TAG: ${{ inputs.version || github.ref_name }} - name: Download deb artifacts uses: robinraju/release-downloader@daf26c55d821e836577a15f77d86ddc078948b05 # v1.12 with: