Skip to content
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

Updated Releases Publishing Workflow #4

Merged
merged 1 commit into from
Nov 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 16 additions & 16 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
types: [created]
jobs:
build:
runs-on: ubuntu-latest
runs-on: macos-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
Expand All @@ -16,31 +16,31 @@ jobs:
dotnet-version: '8.x'

- name: Restore dependencies
run: dotnet restore ./src/MigrationApp.GUI
run: dotnet restore ./src/Tableau.Migration.App.GUI

- name: Build
run: dotnet build ./src/MigrationApp.GUI --configuration Release --no-restore
run: dotnet build ./src/Tableau.Migration.App.GUI --configuration Release --no-restore

- name: Publish Win-x64
run: dotnet publish ./src/MigrationApp.GUI -c Release -r win-x64 --self-contained /p:PublishSingleFile=true /p:DebugType=None /p:GenerateDocumentationFile=false -o ./build/win_x64

- name: Publish OSX-arm64
run: dotnet publish ./src/MigrationApp.GUI -c Release -r osx-arm64 --self-contained -p:PublishSingleFile=true /p:DebugType=None /p:GenerateDocumentationFile=false -o ./build/osx_arm64

- name: Publish OSX-x64
run: dotnet publish ./src/MigrationApp.GUI -c Release -r osx-x64 --self-contained -p:PublishSingleFile=true /p:DebugType=None /p:GenerateDocumentationFile=false -o ./build/osx_x64
- name: Create Releases for Winx64, OSX-x64, OSX-arm64, Linux-x64, Linux-arm64
run: |
./scripts/release.sh

- name: Publish Linux-arm64
run: dotnet publish ./src/MigrationApp.GUI -c Release -r linux-arm64 --self-contained -p:PublishSingleFile=true /p:DebugType=None /p:GenerateDocumentationFile=false -o ./build/linux_arm64
- name: Package up OSX files into .app format
run: |
./scripts/macos.sh --x64 &&
./scripts/macos.sh --arm64

- name: Publish Linux-x64
run: dotnet publish ./src/MigrationApp.GUI -c Release -r linux-arm64 --self-contained -p:PublishSingleFile=true /p:DebugType=None /p:GenerateDocumentationFile=false -o ./build/linux_x64
- name: Sign .app
run: |
codesign --deep --force --verify --verbose --sign - ./build/osx_arm64_macapp/TableauMigration.app &&
codesign --deep --force --verify --verbose --sign - ./build/osx_x64_macapp/TableauMigration.app

- name: Create ZIP files
run: |
zip -j TableauMigrationApp_win-x64.zip ./build/win_x64/* &&
zip -j TableauMigrationApp_osx-arm64.zip ./build/osx_arm64/* &&
zip -j TableauMigrationApp_osx-x64.zip ./build/osx_x64/* &&
pushd . && cd ./build/osx_arm64_macapp/ && zip -r TableauMigrationApp_osx-arm64.zip ./* && mv TableauMigrationApp_osx-arm64.zip ../../ && popd &&
pushd . && cd ./build/osx_x64_macapp/ && zip -r TableauMigrationApp_osx-x64.zip ./* && mv TableauMigrationApp_osx-x64.zip ../../ && popd &&
zip -j TableauMigrationApp_linux-arm64.zip ./build/linux_arm64/* &&
zip -j TableauMigrationApp_linux-x64.zip ./build/linux_x64/*

Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@
- [What order will my resources get migrated in?](#what-order-will-my-resources-get-migrated-in)

## Features
**The Tableau Migration App can be downloaded from the [releases](https://github.com/tableau/tableau-migration-app/releases) page of this repo.**

The purpose of the Tableau Migration App is to provide users with a method to perform simple migrations from their Tableau Server to Tableau Cloud. This app is meant to accompany the [Tableau Manual Migration Guide](https://help.tableau.com/current/guides/migration/en-us/emg_intro.htm) and replace the work required for the migration steps.

<div align="center">
Expand Down