Skip to content

Commit

Permalink
workflow linux move publish
Browse files Browse the repository at this point in the history
  • Loading branch information
ilg-ul committed Jul 22, 2024
1 parent 088dccf commit 1edd11c
Showing 1 changed file with 24 additions and 24 deletions.
48 changes: 24 additions & 24 deletions .github/workflows/build-linux-x64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -111,30 +111,6 @@ jobs:
xpm install --config linux-x64 --loglevel ${{ github.event.inputs.xpm_install_loglevel }} ${{ github.event.inputs.xpm_install_options }}
xpm run build --config linux-x64
- name: 'Publish pre-release'
# https://github.com/ncipollo/release-action
uses: ncipollo/[email protected] # v1.13 for 18.04
with:
allowUpdates: true
artifacts: 'build/linux-x64/deploy/*'
bodyFile: '.github/workflows/body-github-pre-releases-test.md'
commit: 'master'
draft: false
name: 'Test binaries'
omitBodyDuringUpdate: true
omitDraftDuringUpdate: true
omitNameDuringUpdate: true
owner: 'xpack-dev-tools'
prerelease: true
replacesArtifacts: true
repo: 'pre-releases'
tag: 'test'
token: ${{ secrets.PUBLISH_TOKEN }}

- name: 'Rename working area'
# For just in case absolute paths remain unprocessed.
run: mv -v build build-$(date -u +%Y%m%d-%H%M%S)

linux-x64-upload:
name: 'linux-x64 ninja-build ${{ github.event.inputs.version }} build'
timeout-minutes: 5760 # 4 days
Expand All @@ -161,6 +137,30 @@ jobs:
path: $/build/linux-x64/deploy/*
overwrite: true

- name: 'Publish pre-release'
# https://github.com/ncipollo/release-action
uses: ncipollo/[email protected] # v1.13 for 18.04
with:
allowUpdates: true
artifacts: 'build/linux-x64/deploy/*'
bodyFile: '.github/workflows/body-github-pre-releases-test.md'
commit: 'master'
draft: false
name: 'Test binaries'
omitBodyDuringUpdate: true
omitDraftDuringUpdate: true
omitNameDuringUpdate: true
owner: 'xpack-dev-tools'
prerelease: true
replacesArtifacts: true
repo: 'pre-releases'
tag: 'test'
token: ${{ secrets.PUBLISH_TOKEN }}

- name: 'Rename working area'
# For just in case absolute paths remain unprocessed.
run: echo mv -v build build-$(date -u +%Y%m%d-%H%M%S)

linux-x64-test:
name: 'linux-x64 ninja-build ${{ github.event.inputs.version }} test'
runs-on: ubuntu-22.04
Expand Down

0 comments on commit 1edd11c

Please sign in to comment.