Skip to content

Remove build_lib9c job #30023

Remove build_lib9c job

Remove build_lib9c job #30023

Workflow file for this run

on:
push:
branches:
- main
- development
- rc-v*
- release/*
- hotfix/*
- fast-track/*
tags: ["*"]
pull_request:
types: [ready_for_review, opened, reopened, auto_merge_enabled]
issue_comment: []
name: Build-misc
jobs:
update-libplanet-dlls:
runs-on: ubuntu-20.04
name: Update bundled Libplanet assemblies
if: >-
github.event_name == 'issue_comment' &&
github.event.issue.pull_request &&
github.event.sender.type == 'User' &&
contains(github.event.comment.body, '/update-libplanet-dlls')
steps:
- uses: dkershner6/reaction-action@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
commentId: ${{ github.event.comment.id }}
reaction: eyes
- id: pr-metadata
run: |
set -evxou pipefail
curl -o "/tmp/pr-$PR_ID.json" "$PR_API_URL"
jq -r '"::set-output name=repo::" + .head.repo.full_name' \
"/tmp/pr-$PR_ID.json"
jq -r '"::set-output name=ref::" + .head.ref' \
"/tmp/pr-$PR_ID.json"
env:
PR_ID: ${{ github.event.issue.id }}
PR_API_URL: ${{ github.event.issue.pull_request.url }}
- uses: actions/checkout@v3
with:
repository: ${{ steps.pr-metadata.outputs.repo }}
ref: ${{ steps.pr-metadata.outputs.ref }}
submodules: recursive
lfs: true
- run: . scripts/update-libplanet-dlls.ps1
shell: pwsh
- run: sudo apt install libimage-exiftool-perl
- run: |
set -evxou pipefail
version="$(.github/bin/check-libplanet-version.sh | head -n1)"
git config user.name "$(curl $GIT_AUTHOR_API_URL | jq -r .name)"
git config user.email "$GIT_AUTHOR_EMAIL"
git commit \
-m "Upgrade Libplanet assemblies to $version" \
nekoyume/Assets/Packages/Libplanet*.{dll,xml}
git push
env:
GIT_AUTHOR_API_URL: ${{ github.event.sender.url }}
GIT_AUTHOR_EMAIL: >-
${{ github.event.sender.id }}+${{
github.event.sender.login }}@users.noreply.github.com
- if: failure()
uses: dkershner6/reaction-action@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
commentId: ${{ github.event.comment.id }}
reaction: confused
- if: success()
uses: dkershner6/reaction-action@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
commentId: ${{ github.event.comment.id }}
reaction: rocket
build_installer:
runs-on: windows-latest
name: build installer
if: github.event_name == 'push' || github.event_name == 'pull_request'
steps:
- uses: actions/[email protected]
- run: dotnet publish tools/Updater/Updater/Updater.csproj -r win-x64 --self-contained
- run: ISCC tools/installer/installer.iss