This commit is contained in:
Stephan 2022-03-18 16:08:28 +01:00
parent b789a373ac
commit df19db009c

View File

@ -16,13 +16,23 @@ jobs:
with: with:
token: ${{ secrets.GITHUB_TOKEN }} token: ${{ secrets.GITHUB_TOKEN }}
- name: Configure repository
shell: bash
run: |
git config user.email "github-actions@hazelcast.com"
git config user.name "GitHub Actions (Build Release)"
- name: Validate the release - name: Validate the release
uses: actions/github-script@v5 uses: actions/github-script@v5
with: with:
script: | script: |
const script = require('./.github/workflows/publish-release.js') const script = require('./.github/workflows/publish-release.js')
console.log('VERSION')
console.log(context.payload.inputs.version) console.log(context.payload.inputs.version)
console.log('SCRIPT')
console.log(script) console.log(script)
const f = await script({github, context, core}) const f = await script({github, context, core})
console.log('F')
console.log(f) console.log(f)
console.log('EXECUTE')
f.test() f.test()