Skip to content

Commit

Permalink
Fix the mistaken writing to ENV and write to OUTPUT.
Browse files Browse the repository at this point in the history
  • Loading branch information
schmidtw committed May 10, 2023
1 parent 205179e commit 73b7721
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions project/project.go
Original file line number Diff line number Diff line change
Expand Up @@ -212,10 +212,10 @@ func (p *Project) OutputData() error {
}
}

fmt.Printf("release-tag=%s >> $GITHUB_ENV\n", v)
fmt.Printf("release-name=%s %s >> $GITHUB_ENV\n", v, now)
fmt.Printf("release-body-file=%s >> $GITHUB_ENV\n", releaseBodyFile)
fmt.Printf("artifact-dir=%s >> $GITHUB_ENV\n", p.opts.ArtifactDir)
fmt.Printf("release-tag=%s >> $GITHUB_OUTPUT\n", v)
fmt.Printf("release-name=%s %s >> $GITHUB_OUTPUT\n", v, now)
fmt.Printf("release-body-file=%s >> $GITHUB_OUTPUT\n", releaseBodyFile)
fmt.Printf("artifact-dir=%s >> $GITHUB_OUTPUT\n", p.opts.ArtifactDir)
}
return nil
}
Expand Down

0 comments on commit 73b7721

Please sign in to comment.