-
Notifications
You must be signed in to change notification settings - Fork 101
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Create GitHub action for releasing _freeze folder
- Loading branch information
1 parent
385b160
commit fc10824
Showing
1 changed file
with
39 additions
and
0 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,39 @@ | ||
name: Create release with _freeze | ||
|
||
on: | ||
- workflow_dispatch | ||
# Comment out before merging!! | ||
- push: | ||
branches: | ||
- py/release-workflow | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
|
||
- name: Setup Julia | ||
uses: julia-actions/setup-julia@v2 | ||
with: | ||
version: '1.10' | ||
|
||
- name: Set up Quarto | ||
uses: quarto-dev/quarto-actions/setup@v2 | ||
with: | ||
# Needs Quarto 1.6 (which is currently a pre-release version) to fix #533 | ||
version: pre-release | ||
|
||
- name: Render | ||
run: quarto render | ||
|
||
- name: Compress _freeze folder | ||
run: tar -czf _freeze.tar.gz _freeze | ||
|
||
- name: Create GitHub release | ||
uses: softprops/action-gh-release@v2 | ||
with: | ||
files: | ||
- _freeze.tar.gz | ||
- Manifest.toml |