Release #7
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: | |
release: | |
types: [ published ] | |
jobs: | |
build: | |
name: Build | |
uses: ./.github/workflows/main.yml | |
with: | |
buildFlags: officialBuild | |
release-windows: | |
name: Release windowsBuild | |
needs: build | |
runs-on: ubuntu-latest | |
steps: | |
- name: Download Windows artifact | |
uses: actions/download-artifact@v3 | |
with: | |
path: build | |
name: windowsBuild | |
- name: Compress build | |
run: | | |
sudo apt-get install p7zip-full | |
7z a -tzip build.zip -w ./build/. | |
- name: Upload windowsBuild to release | |
uses: svenstaro/upload-release-action@2.5.0 | |
with: | |
repo_token: ${{ secrets.GITHUB_TOKEN }} | |
tag: ${{ github.ref_name }} | |
file: build.zip | |
asset_name: FNF-JS-Engine.zip | |
overwrite: false | |
release-android: | |
name: Release Android Build | |
needs: build | |
runs-on: ubuntu-latest | |
steps: | |
- name: Download Android artifact | |
uses: actions/download-artifact@v3 | |
with: | |
path: build | |
name: androidBuild | |
- name: Compress build | |
run: | | |
sudo apt-get install p7zip-full | |
7z a -tzip build.zip -w ./build/. | |
- name: Upload Android build to release | |
uses: svenstaro/upload-release-action@2.5.0 | |
with: | |
repo_token: ${{ secrets.GITHUB_TOKEN }} | |
tag: ${{ github.ref_name }} | |
file: build.zip | |
asset_name: FNF-JS-Engine-Android.zip | |
overwrite: false | |
release-linux: | |
name: Release linuxBuild | |
needs: build | |
runs-on: ubuntu-latest | |
steps: | |
- name: Download Linux artifact | |
uses: actions/download-artifact@v3 | |
with: | |
path: build | |
name: linuxBuild | |
- name: Compress build | |
run: | | |
sudo apt-get install p7zip-full | |
7z a -y -ttar build.tar -w ./build/. | |
gzip build.tar | |
- name: Upload linuxBuild to release | |
uses: svenstaro/upload-release-action@2.5.0 | |
with: | |
repo_token: ${{ secrets.GITHUB_TOKEN }} | |
tag: ${{ github.ref_name }} | |
file: build.tar.gz | |
asset_name: FNF-JS-Engine-Linux.tar.gz | |
overwrite: false | |
release-mac: | |
name: Release macBuild | |
needs: build | |
runs-on: ubuntu-latest | |
steps: | |
- name: Download Mac artifact | |
uses: actions/download-artifact@v3 | |
with: | |
path: build | |
name: macBuild | |
- name: Compress build | |
run: | | |
sudo apt-get install p7zip-full | |
7z a -tzip build.zip -w ./build/. | |
- name: Upload macBuild to release | |
uses: svenstaro/upload-release-action@2.5.0 | |
with: | |
repo_token: ${{ secrets.GITHUB_TOKEN }} | |
tag: ${{ github.ref_name }} | |
file: build.zip | |
asset_name: FNF-JS-Engine-macOS.zip | |
overwrite: false |