Skip to content

Commit

Permalink
Update CI
Browse files Browse the repository at this point in the history
  • Loading branch information
jamieleecho committed Sep 8, 2024
1 parent 6ddc778 commit 433bda6
Show file tree
Hide file tree
Showing 5 changed files with 28 additions and 25 deletions.
25 changes: 15 additions & 10 deletions .github/workflows/bump-version.yml
Original file line number Diff line number Diff line change
@@ -1,25 +1,30 @@
name: Bump and Tag Version

on: [workflow_dispatch]
on:
workflow_dispatch:

jobs:
bump:
if: "!contains(github.event.head_commit.author.name, 'version-bumper')"
runs-on: ubuntu-latest

steps:
# Checkout action is required
- uses: actions/checkout@v2
with:
token: ${{ secrets.ADMIN_TOKEN }}
- uses: sergeysova/jq-action@v2
- uses: actions/checkout@master
with:
cmd: tools/update-bump-json
- uses: actions/setup-node@v1
token: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/setup-node@v4
with:
node-version: '12'
node-version: '20'
- name: Bump Versions
uses: michmich112/version-bumper@master
env:
CI: false
with:
options-file: './bump-info.json'
github-token: ${{ secrets.ADMIN_TOKEN }}
github-token: ${{ secrets.GITHUB_TOKEN }}
- name: Trigger release
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
gh workflow run make-release.yml --ref `grep "version" package.json | sed 's/.*: *"//' | sed 's/" *//'`
4 changes: 1 addition & 3 deletions .github/workflows/make-release.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
name: Make a New Release

on:
push:
tags:
- '*'
workflow_dispatch:

jobs:
build-6809-dsk-image:
Expand Down
Binary file not shown.
2 changes: 1 addition & 1 deletion game/defaults-config.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"FirstLevel": 1,
"FirstLevel": 2,
"MonitorIsRGB": true,
"UseKeyboard": true,
"SoundOutputMode": 0,
Expand Down
22 changes: 11 additions & 11 deletions game/levels/02-space.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
},

"Objects": [
{
{
"_comment": "***** Shipx Object",
"GroupID": 12,
"ObjectID": 0,
Expand Down Expand Up @@ -80,16 +80,6 @@
"InitData": [4]
},

{
"_comment": "***** Fixed Object",
"GroupID": 10,
"ObjectID": 0,
"Active": 3,
"globalX": 160,
"globalY": 120,
"InitData": [0, 3, 244, 244, 12, 10, 0, 250, 0, 150]
},

{
"_comment": "***** Velocity Object",
"GroupID": 11,
Expand All @@ -98,6 +88,16 @@
"globalX": 20,
"globalY": 100,
"InitData": [0, 2, 248, 248, 8, 8, 0, 245, 0, 150, 0, 0, 0, 0]
},

{
"_comment": "***** Fixed Object",
"GroupID": 10,
"ObjectID": 0,
"Active": 3,
"globalX": 160,
"globalY": 120,
"InitData": [0, 3, 244, 244, 12, 10, 0, 250, 0, 150]
}
]
}
Expand Down

0 comments on commit 433bda6

Please sign in to comment.