🤡 Add mock release event.json

This commit is contained in:
Ben Chatelain 2024-03-31 08:11:22 -06:00
parent 283ddb6cde
commit 13514f0f0d
No known key found for this signature in database
3 changed files with 16 additions and 1 deletions

2
.actrc
View file

@ -1,5 +1,7 @@
--action-offline-mode --action-offline-mode
--eventpath .github/event.json
--container-architecture linux/amd64 --container-architecture linux/amd64
--log-prefix-job-id
--platform macos-14=-self-hosted --platform macos-14=-self-hosted
--pull=false --pull=false
--reuse --reuse

12
.github/event.json vendored Normal file
View file

@ -0,0 +1,12 @@
{
"inputs": {
"NAME": "Manual Workflow",
"SOME_VALUE": "ABC"
},
"release": {
"name": "v1.8.6-beta.1: macOS only test build",
"tag_name": "v1.8.7-beta.1",
"target_commitish": "f8be3e9aaa6c78490277976f17041f2577f5dc21",
"body": "This is a pre-release to facilitate testing for the following fix:\n\n - 🖥️ Only search, outdated and update macOS apps (#505, #496, #491, #336)"
}
}

View file

@ -36,7 +36,8 @@ jobs:
echo "release.name: ${{ github.event.release.name }}" echo "release.name: ${{ github.event.release.name }}"
echo "release.tag_name: ${{ github.event.release.tag_name }}" echo "release.tag_name: ${{ github.event.release.tag_name }}"
echo "release.target_commitish: ${{ github.event.release.target_commitish }}" echo "release.target_commitish: ${{ github.event.release.target_commitish }}"
echo "release.body: ${{ github.event.release.body }}" echo -e "release.body: \n${{ github.event.release.body }}"
echo "DRY_RUN=false" >>$GITHUB_ENV echo "DRY_RUN=false" >>$GITHUB_ENV
echo "MAS_VERSION=${{ github.event.release.tag_name }}" >>${GITHUB_ENV} echo "MAS_VERSION=${{ github.event.release.tag_name }}" >>${GITHUB_ENV}
echo "RELEASE_COMMIT=${{ github.event.release.target_commitish }}" >>${GITHUB_ENV} echo "RELEASE_COMMIT=${{ github.event.release.target_commitish }}" >>${GITHUB_ENV}