File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1111jobs :
1212 build-runspace :
1313 runs-on : windows-latest
14+ outputs :
15+ version : ${{ steps.extract_version.outputs.version }}
1416 env :
1517 CERTIFICATE_BASE64 : ${{ secrets.CERTIFICATE_BASE64 }}
1618 steps :
5759 run : |
5860 $version = (Get-Date -Format "yy.MM.dd")
5961 echo "VERSION=$version" >> $env:GITHUB_ENV
62+ echo "version=$version" >> $env:GITHUB_OUTPUT
6063 shell : pwsh
6164
6265 - name : Create Tag
7982 }
8083 shell : pwsh
8184
85+ - name : Upload compiled script
86+ uses : actions/upload-artifact@v4
87+ with :
88+ name : winutil-ps1
89+ path : ./winutil.ps1
90+
91+ release :
92+ needs : build-runspace
93+ runs-on : ubuntu-latest
94+ steps :
95+ - name : Download compiled script
96+ uses : actions/download-artifact@v4
97+ with :
98+ name : winutil-ps1
99+
100+ - name : Set version from build job
101+ run : echo "VERSION=${{ needs.build-runspace.outputs.version }}" >> $GITHUB_ENV
102+
82103 - name : Generate Release Notes
83104 id : generate_notes
84105 uses : release-drafter/release-drafter@v7
You can’t perform that action at this time.
0 commit comments