Fix Argon session stopping when widget is closed #15
Workflow file for this run
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
name: Release | |
on: | |
push: | |
tags: ["*"] | |
jobs: | |
bump: | |
name: Bump Version | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
ref: main | |
- name: Update Changelog | |
uses: thomaseizinger/keep-a-changelog-new-release@v3 | |
with: | |
tag: ${{ github.ref_name }} | |
- name: Bump Wally version | |
id: version-bump | |
uses: DervexDev/file-version-bumper@v1 | |
with: | |
path: ./wally.toml | |
- name: Commit and Push | |
uses: EndBug/add-and-commit@v9 | |
if: ${{ github.ref_name != steps.version-bump.outputs.old_version }} | |
with: | |
message: Bump Version to ${{ github.ref_name }} | |
default_author: github_actions | |
- name: Update tag | |
if: ${{ github.ref_name != steps.version-bump.outputs.old_version }} | |
run: | | |
git tag -fa ${{ github.ref_name }} -m "Release ${{ github.ref_name }}" | |
git push -f --tags | |
draft-release: | |
name: Draft Release | |
runs-on: ubuntu-latest | |
needs: bump | |
outputs: | |
upload_url: ${{ steps.create-release.outputs.upload_url }} | |
release_id: ${{ steps.create-release.outputs.id }} | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
ref: main | |
- name: Read Changelog | |
id: read-changes | |
uses: mindsers/changelog-reader-action@v2 | |
with: | |
version: ${{ github.ref_name }} | |
- name: Get previus Tag | |
id: previus-tag | |
uses: WyriHaximus/github-action-get-previous-tag@v1 | |
- name: Create Release | |
id: create-release | |
uses: shogo82148/actions-create-release@v1 | |
with: | |
release_name: ${{ github.ref_name }} | |
body: ${{ steps.read-changes.outputs.changes }} | |
prerelease: ${{ contains(github.ref_name, 'pre') }} | |
notes_start_tag: ${{ steps.previus-tag.outputs.tag }} | |
generate_release_notes: true | |
commitish: main | |
draft: true | |
build: | |
name: Build | |
runs-on: ubuntu-latest | |
needs: draft-release | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
ref: main | |
- name: Setup Aftman | |
uses: ok-nick/[email protected] | |
- name: Install dependencies | |
run: wally install | |
- name: Build | |
run: argon build -vvvv | |
- name: Upload to Artifacts | |
uses: actions/upload-artifact@v4 | |
with: | |
name: Argon.rbxm | |
path: Argon.rbxm | |
- name: Upload to Release | |
uses: shogo82148/actions-upload-release-asset@v1 | |
with: | |
upload_url: ${{ needs.draft-release.outputs.upload_url }} | |
asset_name: Argon.rbxm | |
asset_path: Argon.rbxm | |
publish-release: | |
name: Publish Release | |
runs-on: ubuntu-latest | |
needs: [build, draft-release] | |
steps: | |
- uses: eregon/publish-release@v1 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
release_id: ${{ needs.draft-release.outputs.release_id }} |