Fix Circle Shape Function and update to 4.2 #72
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: [push] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
name: Create Release | |
steps: | |
- name: Checkout project | |
uses: actions/checkout@v3 | |
- name: Move License | |
shell: bash | |
run: | | |
mv LICENSE.md README.md ${{ github.workspace }}/addons/ShaderFunction-Extras | |
- name: Directory info | |
shell: bash | |
run: | | |
pwd | |
ls -R | |
- name: Upload artifact | |
uses: actions/upload-artifact@v3 | |
with: | |
name: ${{ github.event.repository.name }} | |
path: | | |
${{ github.workspace }}/addons/ShaderFunction-Extras/* | |
- name: Directory info | |
shell: bash | |
run: | | |
pwd | |
ls | |
- name: Zip the folder | |
uses: vimtor/[email protected] | |
with: | |
files: addons/ShaderFunction-Extras/ | |
dest: ShaderFunction-Extras.zip | |
- name: Directory info | |
shell: bash | |
run: | | |
pwd | |
ls | |
- name: Upload zip to release | |
uses: ncipollo/release-action@v1 | |
with: | |
allowUpdates: true | |
artifacts: "ShaderFunction-Extras.zip" | |
omitNameDuringUpdate: true | |
omitBodyDuringUpdate: true | |
token: ${{ secrets.GITHUB_TOKEN }} | |
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags') |