Skip to content

Commit

Permalink
🤡 Add mock release event.json
Browse files Browse the repository at this point in the history
  • Loading branch information
phatblat committed Mar 31, 2024
1 parent 283ddb6 commit 13514f0
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .actrc
@@ -1,5 +1,7 @@
--action-offline-mode
--eventpath .github/event.json
--container-architecture linux/amd64
--log-prefix-job-id
--platform macos-14=-self-hosted
--pull=false
--reuse
Expand Down
12 changes: 12 additions & 0 deletions .github/event.json
@@ -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)"
}
}
3 changes: 2 additions & 1 deletion .github/workflows/release.yml
Expand Up @@ -36,7 +36,8 @@ jobs:
echo "release.name: ${{ github.event.release.name }}"
echo "release.tag_name: ${{ github.event.release.tag_name }}"
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 "MAS_VERSION=${{ github.event.release.tag_name }}" >>${GITHUB_ENV}
echo "RELEASE_COMMIT=${{ github.event.release.target_commitish }}" >>${GITHUB_ENV}
Expand Down

0 comments on commit 13514f0

Please sign in to comment.