mirror of
https://github.com/mandarine3ds/mandarine.git
synced 2024-11-23 06:09:46 +00:00
Remove broken workflow
This commit is contained in:
parent
02d8c9ba7f
commit
36ccfef54d
121
.github/workflows/publish.yml
vendored
121
.github/workflows/publish.yml
vendored
@ -1,121 +0,0 @@
|
|||||||
name: mandarine-release
|
|
||||||
|
|
||||||
on:
|
|
||||||
workflow_dispatch:
|
|
||||||
|
|
||||||
permissions:
|
|
||||||
actions: write
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
release:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- name: Download/Unzip Windows MSVC Artifact
|
|
||||||
run: |
|
|
||||||
curl -L -o windows-msvc.zip https://nightly.link/mandarine3ds/mandarine/workflows/build/master/windows-msvc.zip
|
|
||||||
unzip windows-msvc.zip -d ./windows-msvc
|
|
||||||
mv ./windows-msvc/mandarine-windows-msvc-*.zip ./windows-msvc.zip
|
|
||||||
|
|
||||||
|
|
||||||
- name: Download/Unzip Windows MSYS2 Artifact
|
|
||||||
run: |
|
|
||||||
curl -L -o windows-msys2.zip https://nightly.link/mandarine3ds/mandarine/workflows/build/master/windows-msys2.zip
|
|
||||||
unzip windows-msys2.zip -d ./windows-msys2
|
|
||||||
mv ./windows-msys2/mandarine-windows-msys2-*.zip ./windows-msys2.zip
|
|
||||||
|
|
||||||
- name: Download/Unzip Linux AppImage Artifact
|
|
||||||
run: |
|
|
||||||
curl -L -o linux-appimage.zip https://nightly.link/mandarine3ds/mandarine/workflows/build/master/linux-appimage.zip
|
|
||||||
unzip linux-appimage.zip -d ./linux-appimage
|
|
||||||
mv ./linux-appimage/mandarine-linux-appimage-*.tar.gz ./linux-appimage.tar.gz
|
|
||||||
|
|
||||||
- name: Download/Unzip Android APK Artifact
|
|
||||||
run: |
|
|
||||||
curl -L -o android-universal.zip https://nightly.link/mandarine3ds/mandarine/workflows/build/master/android-universal.zip
|
|
||||||
unzip android-universal.zip -d ./android-universal
|
|
||||||
|
|
||||||
- name: Download/Unzips Mac OS Artifact
|
|
||||||
run: |
|
|
||||||
curl -L -o macos-universal.zip https://nightly.link/mandarine3ds/mandarine/workflows/build/master/macos-universal.zip
|
|
||||||
unzip macos-universal.zip -d ./macos-universal
|
|
||||||
mv ./macos-universal/mandarine-macos-universal-*.tar.gz ./macos-universal.tar.gz
|
|
||||||
|
|
||||||
- name: Download/Unzip Source Artifact
|
|
||||||
run: |
|
|
||||||
curl -L -o source.zip https://nightly.link/mandarine3ds/mandarine/workflows/build/master/source.zip
|
|
||||||
unzip source.zip -d ./source
|
|
||||||
mv ./source/mandarine-unified-source-*.tar.xz ./mandarine-unified-source.tar.xz
|
|
||||||
|
|
||||||
- name: Create Release
|
|
||||||
id: create_release
|
|
||||||
uses: actions/create-release@v1
|
|
||||||
env:
|
|
||||||
GITHUB_TOKEN: ${{ secrets.MANDARINE_BUILD }}
|
|
||||||
with:
|
|
||||||
tag_name: v${{ github.run_number }}
|
|
||||||
release_name: Mandarine ${{ github.run_number }}
|
|
||||||
body: |
|
|
||||||
Placeholder.
|
|
||||||
draft: true
|
|
||||||
prerelease: false
|
|
||||||
|
|
||||||
- name: upload Android artifact
|
|
||||||
uses: actions/upload-release-asset@v1
|
|
||||||
env:
|
|
||||||
GITHUB_TOKEN: ${{ secrets.MANDARINE_BUILD }}
|
|
||||||
with:
|
|
||||||
upload_url: ${{ steps.create_release.outputs.upload_url }}
|
|
||||||
asset_path: ./android-universal/app-canary-release.apk
|
|
||||||
asset_name: app-canary-release.apk
|
|
||||||
asset_content_type: application/vnd.android.package-archive
|
|
||||||
|
|
||||||
- name: upload linux-appimage artifact
|
|
||||||
uses: actions/upload-release-asset@v1
|
|
||||||
env:
|
|
||||||
GITHUB_TOKEN: ${{ secrets.MANDARINE_BUILD }}
|
|
||||||
with:
|
|
||||||
upload_url: ${{ steps.create_release.outputs.upload_url }}
|
|
||||||
asset_path: ./linux-appimage.tar.gz
|
|
||||||
asset_name: linux-appimage.tar.gz
|
|
||||||
asset_content_type: application/gzip
|
|
||||||
|
|
||||||
- name: upload windows-msvc artifact
|
|
||||||
uses: actions/upload-release-asset@v1
|
|
||||||
env:
|
|
||||||
GITHUB_TOKEN: ${{ secrets.MANDARINE_BUILD }}
|
|
||||||
with:
|
|
||||||
upload_url: ${{ steps.create_release.outputs.upload_url }}
|
|
||||||
asset_path: ./windows-msvc.zip
|
|
||||||
asset_name: windows-msvc.zip
|
|
||||||
asset_content_type: application/zip
|
|
||||||
|
|
||||||
- name: upload windows-msys2 artifact
|
|
||||||
uses: actions/upload-release-asset@v1
|
|
||||||
env:
|
|
||||||
GITHUB_TOKEN: ${{ secrets.MANDARINE_BUILD }}
|
|
||||||
with:
|
|
||||||
upload_url: ${{ steps.create_release.outputs.upload_url }}
|
|
||||||
asset_path: ./windows-msys2.zip
|
|
||||||
asset_name: windows-msys2.zip
|
|
||||||
asset_content_type: application/zip
|
|
||||||
|
|
||||||
- name: upload mac-os artifact
|
|
||||||
uses: actions/upload-release-asset@v1
|
|
||||||
env:
|
|
||||||
GITHUB_TOKEN: ${{ secrets.MANDARINE_BUILD }}
|
|
||||||
with:
|
|
||||||
upload_url: ${{ steps.create_release.outputs.upload_url }}
|
|
||||||
asset_path: ./macos-universal.tar.gz
|
|
||||||
asset_name: macos-universal.tar.gz
|
|
||||||
asset_content_type: application/gzip
|
|
||||||
|
|
||||||
- name: upload source artifact
|
|
||||||
uses: actions/upload-release-asset@v1
|
|
||||||
env:
|
|
||||||
GITHUB_TOKEN: ${{ secrets.MANDARINE_BUILD }}
|
|
||||||
with:
|
|
||||||
upload_url: ${{ steps.create_release.outputs.upload_url }}
|
|
||||||
asset_path: ./mandarine-unified-source.tar.xz
|
|
||||||
asset_name: mandarine-unified-source.tar.xz
|
|
||||||
asset_content_type: application/xz
|
|
Loading…
Reference in New Issue
Block a user