-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🤖 Add a CI/CD method to use github packages for Bubblez.
Refs #36.
- Loading branch information
Showing
5 changed files
with
45 additions
and
59 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
name: "Build, Test, and Deploy" | ||
|
||
on: | ||
push: | ||
tags: | ||
- '*' | ||
|
||
jobs: | ||
Build: | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: ruby/setup-ruby@v1 | ||
with: | ||
ruby-version: '2.6.1' # Not needed with a .ruby-version file | ||
bundler-cache: true | ||
- name: Build | ||
run: gem build bubblez.gemspec | ||
- uses: actions/upload-artifact@v2 | ||
with: | ||
name: bubblez-gemfile | ||
path: bubblez-*.gem | ||
Deploy: | ||
needs: Build | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: ruby/setup-ruby@v1 | ||
with: | ||
ruby-version: '2.6.1' # Not needed with a .ruby-version file | ||
bundler-cache: true | ||
- uses: actions/download-artifact@v2 | ||
with: | ||
name: bubblez-gemfile | ||
- name: Release Gem to GitHub Packages | ||
uses: jstastny/publish-gem-to-github@v2.3 | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
owner: FoamFactory |
This file was deleted.
Oops, something went wrong.
6 changes: 4 additions & 2 deletions
6
.github/workflows/build-and-test.yml → .github/workflows/test.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,7 @@ def self.package_name | |
end | ||
|
||
def self.version_name | ||
'1.0.0' | ||
'1.0.1' | ||
end | ||
|
||
def self.version_code | ||
|