Skip to content

Bump actions/upload-artifact from 3.1.2 to 3.1.3 #134

Bump actions/upload-artifact from 3.1.2 to 3.1.3

Bump actions/upload-artifact from 3.1.2 to 3.1.3 #134

Workflow file for this run

name: Build
on:
push:
branches: [ develop ]
pull_request:
types: [ opened, synchronize, reopened ]
branches: [ develop, main ]
env:
DOCKER_IMAGE: bwbohl/sencha-cmd
jobs:
build:
name: Build Edirom Online
runs-on: ubuntu-latest
steps:
- name: Chekout repository
uses: actions/checkout@v3
- name: Get short sha
uses: benjlevesque/[email protected]
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/[email protected]
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