-
-
Notifications
You must be signed in to change notification settings - Fork 88
feat: add release workflow for burrito #76
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Closed
Changes from 14 commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
51013cd
feat: add release workflow
7442d77
refactor: remove unneeded publish section
4161533
fix: add releaserc
f72d85b
feat: new test commit
3a489a7
refactor: strip out semver release
d706348
chore: remove .releaserc
07b89b0
:Merge branch 'main' of https://github.com/supabase/supavisor into j0…
J0 3b686fb
chore: update VERSION
J0 29509ba
feat: add latest version
f2b3089
fix: add version
e4814e6
Merge branch 'main' into j0/add_release_workflow
J0 2575602
Merge branch 'main' into j0/add_release_workflow
J0 7797bb1
Merge branch 'main' into j0/add_release_workflow
J0 a81cd19
Merge branch 'main' into j0/add_release_workflow
J0 eb3a99a
Update release.yml
J0 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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,51 @@ | ||
| name: Build and Release binary on Push to Master | ||
| on: | ||
| release: | ||
| types: [published] | ||
| branches: | ||
| - main | ||
| jobs: | ||
| generate_binary: | ||
| name: Create binary release | ||
| runs-on: ubuntu-20.04 | ||
| steps: | ||
| - uses: actions/checkout@v2 | ||
| - name: Setup elixir | ||
| id: beam | ||
| uses: erlef/setup-beam@v1 | ||
| with: | ||
| otp-version: 25.x # Define the OTP version [required] | ||
| elixir-version: 1.14.x # Define the elixir version [required] | ||
| experimental-otp: true | ||
| - name: Cache Mix | ||
| uses: actions/cache@v3 | ||
| with: | ||
| path: deps | ||
| key: ${{ runner.os }}-mix-${{ hashFiles(format('{0}{1}', github.workspace, '/mix.lock')) }} | ||
| restore-keys: | | ||
| ${{ runner.os }}-mix- | ||
| - name: Cache Burrito OTP deps | ||
| uses: actions/cache@v3 | ||
| with: | ||
| key: ${{ runner.os }}-burrito- | ||
| path: | | ||
| ~/.cache/burrito_file_cache/ | ||
| ~/burrito_out/ | ||
| - name: Install dependencies | ||
| run: mix deps.get | ||
| - name: Install xz | ||
| run: sudo apt-get update && sudo apt-get install xz-utils | ||
| - name: Setup Zig for burrito | ||
| uses: goto-bus-stop/setup-zig@v2 | ||
| with: | ||
| version: 0.10.0 | ||
| - name: Create release | ||
| run: mix release supavisor_bin | ||
| - name: Upload binaries to release | ||
| uses: svenstaro/upload-release-action@v2 | ||
| with: | ||
| repo_token: ${{ secrets.GITHUB_TOKEN }} | ||
| file: burrito_out/* | ||
| tag: ${{ github.ref }} | ||
| overwrite: true | ||
| file_glob: true | ||
This file contains hidden or 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 |
|---|---|---|
| @@ -1 +1 @@ | ||
| 0.9.4 | ||
| 0.9.5 |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.