3333 node-version-file : .node-version
3434
3535 - name : Download npm package from release artifacts
36- uses : robinraju/release-downloader@v1.12
36+ uses : robinraju/release-downloader@daf26c55d821e836577a15f77d86ddc078948b05 # v1.12
3737 with :
3838 repository : " coder/code-server"
3939 tag : ${{ github.event.inputs.version || github.ref_name }}
4343 # Strip out the v (v4.9.1 -> 4.9.1).
4444 - name : Get and set VERSION
4545 run : |
46- TAG="${{ github.event.inputs.version || github.ref_name }}"
4746 echo "VERSION=${TAG#v}" >> $GITHUB_ENV
4847
48+ env :
49+ TAG : ${{ github.event.inputs.version || github.ref_name }}
4950 - run : npm run publish:npm
5051 env :
5152 VERSION : ${{ env.VERSION }}
@@ -88,11 +89,12 @@ jobs:
8889 # Strip out the v (v4.9.1 -> 4.9.1).
8990 - name : Get and set VERSION
9091 run : |
91- TAG="${{ github.event.inputs.version || github.ref_name }}"
9292 echo "VERSION=${TAG#v}" >> $GITHUB_ENV
9393
94+ env :
95+ TAG : ${{ github.event.inputs.version || github.ref_name }}
9496 - name : Validate package
95- uses : heyhusen/archlinux-package-action@v3.0.0
97+ uses : heyhusen/archlinux-package-action@c9f94059ccbebe8710d31d582f33ef4e84fe575c # v3.0.0
9698 env :
9799 VERSION : ${{ env.VERSION }}
98100 with :
@@ -119,19 +121,19 @@ jobs:
119121 uses : actions/checkout@v6
120122
121123 - name : Set up QEMU
122- uses : docker/setup-qemu-action@v3
124+ uses : docker/setup-qemu-action@c7c53464625b32c7a7e944ae62b3e17d2b600130 # v3
123125
124126 - name : Set up Docker Buildx
125- uses : docker/setup-buildx-action@v3
127+ uses : docker/setup-buildx-action@8d2750c68a42422c14e847fe6c8ac0403b4cbd6f # v3
126128
127129 - name : Login to Docker Hub
128- uses : docker/login-action@v3
130+ uses : docker/login-action@c94ce9fb468520275223c153574b00df6fe4bcc9 # v3
129131 with :
130132 username : ${{ secrets.DOCKER_USERNAME }}
131133 password : ${{ secrets.DOCKER_PASSWORD }}
132134
133135 - name : Login to GHCR
134- uses : docker/login-action@v3
136+ uses : docker/login-action@c94ce9fb468520275223c153574b00df6fe4bcc9 # v3
135137 with :
136138 registry : ghcr.io
137139 username : ${{ github.actor }}
@@ -140,19 +142,20 @@ jobs:
140142 # Strip out the v (v4.9.1 -> 4.9.1).
141143 - name : Get and set VERSION
142144 run : |
143- TAG="${{ github.event.inputs.version || github.ref_name }}"
144145 echo "VERSION=${TAG#v}" >> $GITHUB_ENV
145146
147+ env :
148+ TAG : ${{ github.event.inputs.version || github.ref_name }}
146149 - name : Download deb artifacts
147- uses : robinraju/release-downloader@v1.12
150+ uses : robinraju/release-downloader@daf26c55d821e836577a15f77d86ddc078948b05 # v1.12
148151 with :
149152 repository : " coder/code-server"
150153 tag : v${{ env.VERSION }}
151154 fileName : " *.deb"
152155 out-file-path : " release-packages"
153156
154157 - name : Download rpm artifacts
155- uses : robinraju/release-downloader@v1.12
158+ uses : robinraju/release-downloader@daf26c55d821e836577a15f77d86ddc078948b05 # v1.12
156159 with :
157160 repository : " coder/code-server"
158161 tag : v${{ env.VERSION }}
0 commit comments