Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions .github/testworkflows/container-matrix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ jobs:
matrix:
test: [0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19]
runs-on: [self-hosted]
container: ubuntu:latest
container: node:latest
steps:
- run: echo Hello World
- uses: actions/github-script@v7
with:
script: |
console.log('Hello from NodeJS Actions in a container!');
github-token: none
- run: echo Hello World
5 changes: 5 additions & 0 deletions .github/testworkflows/matrix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,9 @@ jobs:
test: [0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19]
runs-on: [self-hosted]
steps:
- uses: actions/github-script@v7
with:
script: |
console.log('Hello from NodeJS Actions!');
github-token: none
- run: echo Hello World
2 changes: 1 addition & 1 deletion actionsdotnetactcompat/action_cache.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ func (cache *ActionCacheBase) GetTarArchive(ctx context.Context, cacheDir, sha,
pr, pw := io.Pipe()
cleanIncludePrefix := path.Clean(includePrefix)
go func() {
defer func() { _ = pr.Close() }()
defer func() { _ = pw.Close() }()
writer := tar.NewWriter(pw)
defer func() { _ = writer.Close() }()
reader, err := os.Open(cache.mapping[cacheDir+"@"+sha])
Expand Down
Loading