Skip to content

bumped v0.3.3

bumped v0.3.3 #32

Workflow file for this run

name: Release
on:
push:
tags: ['v[0-9]+.[0-9]+.[0-9]+*']
jobs:
linux:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v3
- name: Install dependencies on Ubuntu
run: sudo apt-get update && sudo apt-get install libgtk-3-dev
- name: Build
run: GIT_COMMIT_HASH=$(git rev-parse --short HEAD) cargo build --release
- name: Gzip
run: |
mkdir wgshadertoy
mv ./target/release/wgshadertoy wgshadertoy/
tar -zcvf ./wgshadertoy-linux.tar.gz wgshadertoy
- name: Release
uses: softprops/action-gh-release@v1
with:
files: ./wgshadertoy-linux.tar.gz
windows:
runs-on: windows-latest
defaults:
run:
shell: bash
permissions:
contents: write
steps:
- uses: actions/checkout@v3
- name: Build
run: GIT_COMMIT_HASH=$(git rev-parse --short HEAD) cargo build --release
- name: Install WiX
run: nuget install WiX -Version 3.11.2
- name: Create msi installer
run: |
./WiX.*/tools/candle.exe -arch "x64" -ext WixUIExtension -ext WixUtilExtension \
-out "./wgshadertoy.wixobj" "extra/windows/wix/wgshadertoy.wxs"
./WiX.*/tools/light.exe -ext WixUIExtension -ext WixUtilExtension \
-out "./WgShadertoy.msi" -sice:ICE61 -sice:ICE91 \
"./wgshadertoy.wixobj"
- name: Release
uses: softprops/action-gh-release@v1
with:
files: ./WgShadertoy.msi