Skip to content

Commit

Permalink
Updated Releases Publishing Workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
lszinv committed Nov 7, 2024
1 parent d623d74 commit 057ae22
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 16 deletions.
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

0 comments on commit 057ae22

Please sign in to comment.