mirror of
https://github.com/mas-cli/mas
synced 2024-11-22 03:23:08 +00:00
🤡 Add mock release event.json
This commit is contained in:
parent
283ddb6cde
commit
13514f0f0d
3 changed files with 16 additions and 1 deletions
2
.actrc
2
.actrc
|
@ -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
12
.github/event.json
vendored
Normal 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)"
|
||||||
|
}
|
||||||
|
}
|
3
.github/workflows/release.yml
vendored
3
.github/workflows/release.yml
vendored
|
@ -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}
|
||||||
|
|
Loading…
Reference in a new issue