Skip to content

Add a shebang to the package script #56

Add a shebang to the package script

Add a shebang to the package script #56

Workflow file for this run

name: build
on:
push:
pull_request:
permissions:
contents: write
jobs:
build:
strategy:
matrix:
os: ['ubuntu', 'windows', 'macos']
runs-on: ${{ matrix.os }}-latest
steps:
- name: checkout
uses: actions/checkout@v4.1.7
with:
submodules: 'recursive'
- name: build
run: ./ci/ci.bash
shell: bash
- name: upload-artifacts
uses: actions/upload-artifact@v4.3.6
with:
name: godot-pure-data-${{ matrix.os }}
path: work/install
package:
needs: [build]
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v4.1.7
- name: download all build artifacts
uses: actions/download-artifact@v4.1.8
with:
path: work/artifacts
- name: build
run: sh ci/package.bash work/artifacts
shell: bash
- name: upload-artifacts
uses: actions/upload-artifact@v4.3.6
with:
name: project
path: project
publish:
needs: [package]
if: startsWith(github.ref, 'refs/tags/')
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v4.1.7
with:
ref: master
- name: download all build artifacts
uses: actions/download-artifact@v4.1.8
with:
name: project
path: project
- name: commit
run: |
git config --global user.name 'samsface'
git config --global user.email 'samsface@users.noreply.github.com'
git add -A
git commit -am "automated commit"
git push