Remove unused workflow; don't run release_drafter except on master (#775)

* Remove unused workflow; don't run release_drafter except on master

* use correct syntax for string literal
This commit is contained in:
Jamil
2022-07-01 01:35:30 -07:00
committed by GitHub
parent 47956c8018
commit 609aaecfe9
2 changed files with 2 additions and 60 deletions

View File

@@ -158,6 +158,7 @@ jobs:
steps:
- uses: release-drafter/release-drafter@v5
id: release_drafter
if: startsWith(github.ref, 'refs/heads/master')
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@@ -203,7 +204,7 @@ jobs:
- name: Build
env:
GIT_SHA: ${{ github.sha }}
VERSION: ${{ needs.draft-release.outputs.tag_name }}
VERSION: ${{ needs.draft-release.outputs.tag_name || '0.0.0' }}
run: |
echo "removing lock file in case last run sucked"
sudo rm -f /opt/runner/omnibus-local/cache/git_cache/opt/firezone/index.lock

View File

@@ -1,59 +0,0 @@
name: Update Dependencies
on: workflow_dispatch
jobs:
install-packages:
runs-on: ${{ matrix.platform }}
env:
DEBIAN_FRONTEND: noninteractive
strategy:
# Failing fast breaks the Omnibus build cache because the job is
# interrupted abruptly, leaving behind index.lock files.
fail-fast: false
matrix:
platform:
# ARM-based
- amazonlinux2-arm64
- centos9-arm64
- debian10-arm64
- debian11-arm64
- fedora33-arm64
- fedora34-arm64
- fedora35-arm64
- ubuntu1804-arm64
- ubuntu2004-arm64
# x64-based
- amazonlinux2-x64
- centos7-x64
- centos8-x64
- centos9-x64
- debian10-x64
- debian11-x64
- fedora33-x64
- fedora34-x64
- fedora35-x64
- ubuntu1804-x64
- ubuntu2004-x64
- opensuse15-x64
steps:
- name: install llvm on suse-based
if: startsWith(matrix.platform, 'opensuse')
run: |
sudo zypper refresh
sudo zypper --non-interactive install llvm clang
- name: install llvm on redhat-based
if: >
startsWith(matrix.platform, 'amazonlinux') ||
startsWith(matrix.platform, 'centos') ||
startsWith(matrix.platform, 'fedora') ||
startsWith(matrix.platform, 'fedora')
run: |
sudo yum install -y llvm clang
- name: install llvm on debian-based
if: >
startsWith(matrix.platform, 'debian') ||
startsWith(matrix.platform, 'ubuntu')
run: |
sudo apt-get update
sudo apt-get install -yq llvm clang