Release #42
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-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 -tzip build.zip -w ./build/. | |
- name: Upload linuxBuild to release | |
uses: svenstaro/[email protected] | |
with: | |
repo_token: ${{ secrets.GITHUB_TOKEN }} | |
tag: ${{ github.ref_name }} | |
file: build.zip | |
asset_name: FNF-JS-Engine-linux.zip | |
overwrite: false | |
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/[email protected] | |
with: | |
repo_token: ${{ secrets.GITHUB_TOKEN }} | |
tag: ${{ github.ref_name }} | |
file: build.zip | |
asset_name: FNF-JS-Engine.zip | |
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/[email protected] | |
with: | |
repo_token: ${{ secrets.GITHUB_TOKEN }} | |
tag: ${{ github.ref_name }} | |
file: build.zip | |
asset_name: FNF-JS-Engine-macOS.zip | |
overwrite: false |