Skip to content

Deep clean xPack WineHQ #5

Deep clean xPack WineHQ

Deep clean xPack WineHQ #5

Workflow file for this run

# -----------------------------------------------------------------------------
# DO NOT EDIT!
# Automatically generated from npm-packages-helper/templates/*.
#
# This file is part of the xPack project (http://xpack.github.io).
# Copyright (c) 2021 Liviu Ionescu. All rights reserved.
#
# Permission to use, copy, modify, and/or distribute this software
# for any purpose is hereby granted, under the terms of the MIT license.
#
# If a copy of the license was not distributed with this file, it can
# be obtained from https://opensource.org/licenses/mit/.
#
# -----------------------------------------------------------------------------
# https://help.github.com/en/actions
# https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners
# https://docs.github.com/en/actions/reference/events-that-trigger-workflows#workflow_dispatch
# https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#workflow_dispatch
# https://docs.github.com/en/rest/reference/actions#create-a-workflow-dispatch-event
# https://github.com/actions/checkout
# https://github.com/actions/upload-artifact
# https://github.com/actions/download-artifact
# -----------------------------------------------------------------------------
name: 'Deep clean xPack WineHQ'
on:
workflow_dispatch:
inputs:
version:
description: 'The semver of the release'
required: false
default: 'current'
jobs:
linux-x64:
name: 'linux-x64 wine ${{github.event.inputs.version}} clean'
timeout-minutes: 5760 # 4 days
runs-on: [self-hosted, linux, x64]
steps:
- name: 'Show environment'
run: |
uname -a
lsb_release -sd
echo "whoami: $(whoami)"
echo "pwd: $(pwd)"
ls -lLA
env | sort | grep -E '^[^ \t]+='
- name: 'Clean working area' # Mandatory for self-hosted runners.
run: |
chmod -Rf a+w * || true
rm -rf * .git*