Skip to content

Release

Release #19

Workflow file for this run

name: Release
on:
release:
types: [published]
jobs:
macos:
name: Release Tuist Plugin Zip
runs-on: macos-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Tuist
run: brew install --cask tuist
- name: Generate Tuist Plugin
run: tuist plugin archive
- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
name: tuistui
path: TuistUI.tuist-plugin.zip
retention-days: 5
upload:
name: Upload release artifacts
runs-on: ubuntu-latest
needs: [macos]
steps:
- name: Checkout the repository
uses: actions/checkout@v4
- uses: actions/download-artifact@v4
with:
path: downloaded_artifacts
- name: Display structure of downloaded files
run: ls -R downloaded_artifacts
- name: Upload Release Assets
uses: actions/upload-release-asset@v1
with:
upload_url: ${{ github.event.release.upload_url }}
asset_path: downloaded_artifacts/tuistui/TuistUI.tuist-plugin.zip
asset_name: TuistUI.tuist-plugin.zip
asset_content_type: application/zip