Skip to content

Merge pull request #395 from krHERO/develop #226

Merge pull request #395 from krHERO/develop

Merge pull request #395 from krHERO/develop #226

Workflow file for this run

name: Build
on:
push:
branches: [ develop ]
pull_request:
types: [ opened, synchronize, reopened ]
branches: [ develop, main ]
permissions:
contents: read
env:
DOCKER_IMAGE: bwbohl/sencha-cmd
jobs:
build:
name: Build Edirom Online
runs-on: ubuntu-latest
steps:
- name: Chekout repository
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: Get short sha
uses: benjlevesque/short-sha@599815c8ee942a9616c92bcfb4f947a3b670ab0b # v3.0
id: short-sha
with:
length: 7
- name: Build Edirom Online from ${{ github.ref }} at ${{ github.sha }}
run: docker run --rm -v $(pwd):/app -w /app --entrypoint ./build.sh bwbohl/sencha-cmd
- name: Upload Artifacts to action run
if: github.repository == 'Edirom/Edirom-Online'
uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3
with:
# The name that the artifact will be made available under
name: EdiromOnline_${{ steps.short-sha.outputs.sha }}.zip
# The path to retrieve the artifact
path: ${{ github.workspace }}/build-xar/Edirom-Online-*.xar
if-no-files-found: warn # 'warn' or 'ignore' are also available, defaults to `warn`
#optional retention-days: 1 to 90