Skip to content

Commit 8f4aa89

Browse files
authored
Release 2.320.1 patch runner with #3548 (#3727)
1 parent 78f2167 commit 8f4aa89

File tree

5 files changed

+61
-65
lines changed

5 files changed

+61
-65
lines changed

.github/workflows/release.yml

Lines changed: 51 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -285,54 +285,54 @@ jobs:
285285
asset_name: actions-runner-linux-arm64-${{ steps.releaseNote.outputs.version }}.tar.gz
286286
asset_content_type: application/octet-stream
287287

288-
publish-image:
289-
needs: release
290-
runs-on: ubuntu-latest
291-
permissions:
292-
contents: read
293-
packages: write
294-
env:
295-
REGISTRY: ghcr.io
296-
IMAGE_NAME: ${{ github.repository_owner }}/actions-runner
297-
steps:
298-
- name: Checkout repository
299-
uses: actions/checkout@v3
300-
301-
- name: Compute image version
302-
id: image
303-
uses: actions/github-script@v6
304-
with:
305-
script: |
306-
const fs = require('fs');
307-
const runnerVersion = fs.readFileSync('${{ github.workspace }}/releaseVersion', 'utf8').replace(/\n$/g, '')
308-
console.log(`Using runner version ${runnerVersion}`)
309-
core.setOutput('version', runnerVersion);
310-
311-
- name: Setup Docker buildx
312-
uses: docker/setup-buildx-action@v2
313-
314-
- name: Log into registry ${{ env.REGISTRY }}
315-
uses: docker/login-action@v2
316-
with:
317-
registry: ${{ env.REGISTRY }}
318-
username: ${{ github.actor }}
319-
password: ${{ secrets.GITHUB_TOKEN }}
320-
321-
- name: Build and push Docker image
322-
id: build-and-push
323-
uses: docker/build-push-action@v3
324-
with:
325-
context: ./images
326-
platforms: |
327-
linux/amd64
328-
linux/arm64
329-
tags: |
330-
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ steps.image.outputs.version }}
331-
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest
332-
build-args: |
333-
RUNNER_VERSION=${{ steps.image.outputs.version }}
334-
push: true
335-
labels: |
336-
org.opencontainers.image.source=${{github.server_url}}/${{github.repository}}
337-
org.opencontainers.image.description=https://github.com/actions/runner/releases/tag/v${{ steps.image.outputs.version }}
338-
org.opencontainers.image.licenses=MIT
288+
# publish-image:
289+
# needs: release
290+
# runs-on: ubuntu-latest
291+
# permissions:
292+
# contents: read
293+
# packages: write
294+
# env:
295+
# REGISTRY: ghcr.io
296+
# IMAGE_NAME: ${{ github.repository_owner }}/actions-runner
297+
# steps:
298+
# - name: Checkout repository
299+
# uses: actions/checkout@v3
300+
301+
# - name: Compute image version
302+
# id: image
303+
# uses: actions/github-script@v6
304+
# with:
305+
# script: |
306+
# const fs = require('fs');
307+
# const runnerVersion = fs.readFileSync('${{ github.workspace }}/releaseVersion', 'utf8').replace(/\n$/g, '')
308+
# console.log(`Using runner version ${runnerVersion}`)
309+
# core.setOutput('version', runnerVersion);
310+
311+
# - name: Setup Docker buildx
312+
# uses: docker/setup-buildx-action@v2
313+
314+
# - name: Log into registry ${{ env.REGISTRY }}
315+
# uses: docker/login-action@v2
316+
# with:
317+
# registry: ${{ env.REGISTRY }}
318+
# username: ${{ github.actor }}
319+
# password: ${{ secrets.GITHUB_TOKEN }}
320+
321+
# - name: Build and push Docker image
322+
# id: build-and-push
323+
# uses: docker/build-push-action@v3
324+
# with:
325+
# context: ./images
326+
# platforms: |
327+
# linux/amd64
328+
# linux/arm64
329+
# tags: |
330+
# ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ steps.image.outputs.version }}
331+
# ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest
332+
# build-args: |
333+
# RUNNER_VERSION=${{ steps.image.outputs.version }}
334+
# push: true
335+
# labels: |
336+
# org.opencontainers.image.source=${{github.server_url}}/${{github.repository}}
337+
# org.opencontainers.image.description=https://github.com/actions/runner/releases/tag/v${{ steps.image.outputs.version }}
338+
# org.opencontainers.image.licenses=MIT

releaseNote.md

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,8 @@
11
## What's Changed
22

3-
- Adding Snapshot additional mapping tokens https://github.com/actions/runner/pull/3468
4-
- Create launch httpclient using the right handler and setting https://github.com/actions/runner/pull/3476
5-
- Fix missing default user-agent for jitconfig runner https://github.com/actions/runner/pull/3473
6-
- Cleanup back-compat code for interpreting Run Service status codes https://github.com/actions/runner/pull/3456
7-
- Add runner or worker to the useragent https://github.com/actions/runner/pull/3457
8-
- Handle Error Body in Responses from Broker https://github.com/actions/runner/pull/3454
9-
- Fix issues for composite actions (Run Service flow) https://github.com/actions/runner/pull/3446
10-
- Trace GitHub RequestId to log https://github.com/actions/runner/pull/3442
11-
- Add `jq`, `git`, `unzip` and `curl` to default packages installed https://github.com/actions/runner/pull/3056
12-
- Add pid to user-agent and session owner https://github.com/actions/runner/pull/3432
13-
14-
**Full Changelog**: https://github.com/actions/runner/compare/v2.319.1...v2.320.0
3+
- Backport: Expose ENV for cache service v2. https://github.com/actions/runner/pull/3548
4+
5+
**Full Changelog**: https://github.com/actions/runner/compare/v2.320.0...v2.320.1
156

167
_Note: Actions Runner follows a progressive release policy, so the latest release might not be available to your enterprise, organization, or repository yet.
178
To confirm which version of the Actions Runner you should expect, please view the download instructions for your enterprise, organization, or repository.

releaseVersion

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.320.0
1+
2.320.1

src/Runner.Worker/Handlers/NodeScriptActionHandler.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,11 @@ public async Task RunAsync(ActionRunStage stage)
7272
Environment["ACTIONS_RESULTS_URL"] = resultsUrl;
7373
}
7474

75+
if (ExecutionContext.Global.Variables.GetBoolean("actions_uses_cache_service_v2") ?? false)
76+
{
77+
Environment["ACTIONS_CACHE_SERVICE_V2"] = bool.TrueString;
78+
}
79+
7580
// Resolve the target script.
7681
string target = null;
7782
if (stage == ActionRunStage.Main)

src/runnerversion

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.320.0
1+
2.320.1

0 commit comments

Comments
 (0)