From b3260b4fba4da87d4d7ef221edd2de668f45625f Mon Sep 17 00:00:00 2001 From: Songtronix Date: Thu, 14 May 2020 17:42:21 +0200 Subject: [PATCH] change(ci): remove unused github workflow --- .github/workflows/artifacts.yml | 60 --------------------------------- 1 file changed, 60 deletions(-) delete mode 100644 .github/workflows/artifacts.yml diff --git a/.github/workflows/artifacts.yml b/.github/workflows/artifacts.yml deleted file mode 100644 index e5d6afb795..0000000000 --- a/.github/workflows/artifacts.yml +++ /dev/null @@ -1,60 +0,0 @@ -# This workflow will create artifacts for all merges into master -# It will include linux, macos binaries with assets and an msi installer. - -name: Artifacts - -on: - schedule: - - cron: '0 0 * * *' - -jobs: - release-macos: - runs-on: [macos-latest] - steps: - # LFS Checkout from Gitlab - - name: Gitlab LFS Checkout - run: | - mkdir -p $RUNNER_WORKSPACE/veloren - git init $RUNNER_WORKSPACE/veloren - cd $RUNNER_WORKSPACE/veloren - git remote add origin https://gitlab.com/veloren/veloren.git/ - git -c protocol.version=2 fetch --no-tags --prune --progress --no-recurse-submodules --depth=1 origin +$GITHUB_SHA:refs/remotes/origin/$(echo $GITHUB_REF | cut -c 12-) - git checkout --progress --force -B $(echo $GITHUB_REF | cut -c 12-) refs/remotes/origin/$(echo $GITHUB_REF | cut -c 12-) - git log -1 - # Prepare toolchain - - name: Pull toolchain - uses: actions-rs/toolchain@v1 - with: - profile: minimal - # Cache - - name: Cache cargo registry - uses: actions/cache@v1 - with: - path: ~/.cargo/registry - key: ${{ runner.os }}-cargo-registry-${{ hashFiles('**/Cargo.lock') }} - - name: Cache cargo index - uses: actions/cache@v1 - with: - path: ~/.cargo/git - key: ${{ runner.os }}-cargo-index-${{ hashFiles('**/Cargo.lock') }} - - name: Cache cargo build - uses: actions/cache@v1 - with: - path: target - key: ${{ runner.os }}-cargo-build-target-${{ hashFiles('**/Cargo.lock') }} - # Build & Package airshipper - - name: Build - run: cargo build - - name: Package - run: | - mkdir -p artifact/ - mkdir -p artifact/assets - cp -r assets/ artifact/assets/ - cp target/debug/veloren-server-cli artifact/ - cp target/debug/veloren-voxygen artifact/ - # Upload artifact - - name: Upload artifact - uses: actions/upload-artifact@v1 - with: - name: airshipper-macos - path: artifact/