Skip to content

Commit

Permalink
Remove tar generation and attachment
Browse files Browse the repository at this point in the history
  • Loading branch information
Ulthran committed Apr 4, 2024
1 parent e26a9b8 commit d617923
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 31 deletions.
3 changes: 2 additions & 1 deletion .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,5 @@

If this is for a release:
* [ ] I have updated documentation
* [ ] I have updated the hardcoded version at the top of `install.sh` to match what this release's version will be
* [ ] I have updated the hardcoded version at the top of `install.sh` to match what this release's version will be
* [ ] I have created a release archive that will be attached to this release (`bash dev_scripts/generate_archive.sh`)
30 changes: 0 additions & 30 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,43 +44,13 @@ jobs:
echo "Versions don't match, exiting..."
exit 1
fi
generate-tarball:
name: Generate Tarball and Add to Release
runs-on: ubuntu-latest
needs:
- run-tests
- check-version

steps:
- name: Checkout Code
uses: actions/checkout@v4

- name: Generate Tarball
run: bash dev_scripts/generate_archive.sh

- name: Upload Tarball
uses: actions/upload-artifact@v2
with:
name: sunbeam.tar.gz
path: sunbeam.tar.gz

- name: Add Tarball to Release
uses: irongut/[email protected]
with:
token: ${{ secrets.GITHUB_TOKEN }}
id: ${{ github.event.release.id }}
body: "### Sunbeam Tarball\nDownload the Sunbeam tarball from the release page to install Sunbeam locally.\n[Download Sunbeam Tarball](https://github.com/sunbeam-labs/sunbeam/releases/${{ needs.check-version.outputs.version }}/download/sunbeam.tar.gz"
replacebody: false
files: "sunbeam.tar.gz"
test-tarball:
name: Test Tarball
runs-on: ubuntu-latest
needs:
- run-tests
- check-version
- generate-tarball

steps:
- name: setup-conda
Expand Down

0 comments on commit d617923

Please sign in to comment.