mirror of
https://github.com/outbackdingo/firezone.git
synced 2026-01-28 02:18:50 +00:00
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:
3
.github/workflows/ci.yml
vendored
3
.github/workflows/ci.yml
vendored
@@ -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
|
||||
|
||||
59
.github/workflows/update_deps.yml
vendored
59
.github/workflows/update_deps.yml
vendored
@@ -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
|
||||
Reference in New Issue
Block a user