Skip to content

Commit 62a5739

Browse files
committed
Update pipelines with various fixes
1 parent aa634d0 commit 62a5739

File tree

9 files changed

+59
-57
lines changed

9 files changed

+59
-57
lines changed
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Download Provisioning Profiles
2+
inputs:
3+
app-store-key:
4+
description: App Store key in PEM PKCS#8 format
5+
required: true
6+
app-store-key-id:
7+
description: App Store key ID
8+
required: true
9+
app-store-key-issuer-id:
10+
description: App Store key issuer ID
11+
required: true
12+
runs:
13+
using: composite
14+
steps:
15+
- shell: bash
16+
run: |
17+
cat << EOF > api-key.json
18+
{
19+
"key_id": "${{ inputs.app-store-key-id }}",
20+
"issuer_id": "${{ inputs.app-store-key-issuer-id }}",
21+
"key": "${{ inputs.app-store-key }}"
22+
}
23+
EOF
24+
25+
fastlane sigh download_all --api_key_path api-key.json --download_xcode_profiles
26+
27+
rm -rf api-key.json

.github/workflows/build-appimage.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ on:
66
pull_request:
77
branches:
88
- "*"
9+
concurrency:
10+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
11+
cancel-in-progress: true
912
jobs:
1013
appimage:
1114
name: Build AppImage

.github/workflows/build-docker.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ on:
66
pull_request:
77
branches:
88
- "*"
9+
concurrency:
10+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
11+
cancel-in-progress: true
912
jobs:
1013
build:
1114
name: Build Docker Image

.github/workflows/build-rust.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ jobs:
5858
run: |
5959
sudo apt-get update
6060
sudo apt-get install -y ${{ join(matrix.packages, ' ') }}
61-
- name: Install Windows Deps
61+
- name: Configure LLVM
6262
if: matrix.os == 'windows-2022'
6363
shell: bash
6464
run: echo "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\Llvm\x64\bin" >> $GITHUB_PATH

.github/workflows/lint-swift.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@ jobs:
1313
- name: Checkout
1414
uses: actions/checkout@v4
1515
- name: Lint
16-
run: swiftlint lint --reporter github-actions-logging
16+
run: swiftlint lint --strict --reporter github-actions-logging

.github/workflows/release-appimage.yml

Lines changed: 0 additions & 29 deletions
This file was deleted.

.github/workflows/release-apple.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
- x86_64-apple-darwin
2525
- aarch64-apple-darwin
2626
env:
27-
DEVELOPER_DIR: /Applications/Xcode_15.4.app/Contents/Developer
27+
DEVELOPER_DIR: /Applications/Xcode_16.0.app/Contents/Developer
2828
steps:
2929
- name: Checkout
3030
uses: actions/checkout@v4
@@ -40,8 +40,9 @@ jobs:
4040
with:
4141
targets: ${{ join(matrix.rust-targets, ', ') }}
4242
- name: Configure Version
43+
id: version
4344
shell: bash
44-
run: Tools/version.sh
45+
run: echo "BUILD_NUMBER=$(Tools/version.sh)" >> $GITHUB_OUTPUT
4546
- name: Archive
4647
uses: ./.github/actions/archive
4748
with:

.github/workflows/release-if-needed.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ jobs:
99
create:
1010
name: Create Release If Needed
1111
runs-on: ubuntu-latest
12+
env:
13+
GH_TOKEN: ${{ github.token }}
1214
steps:
1315
- name: Checkout
1416
uses: actions/checkout@v4

.github/workflows/release-linux.yml

Lines changed: 19 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -2,33 +2,28 @@ name: Release (Linux)
22
on:
33
release:
44
types:
5-
- created
5+
- created
66
jobs:
77
appimage:
88
name: Build AppImage
99
runs-on: ubuntu-latest
1010
container: docker
1111
steps:
12-
- name: Checkout
13-
uses: actions/checkout@v4
14-
with:
15-
fetch-depth: 0
16-
- name: Build AppImage
17-
run: |
18-
docker build -t appimage-builder . -f burrow-gtk/build-aux/Dockerfile
19-
docker create --name temp appimage-builder
20-
docker cp temp:/app/burrow-gtk/build-appimage/Burrow-x86_64.AppImage .
21-
docker rm temp
22-
- name: Get Build Number
23-
id: version
24-
shell: bash
25-
run: |
26-
echo "BUILD_NUMBER=$(Tools/version.sh)" >> $GITHUB_OUTPUT
27-
- name: Attach Artifacts
28-
uses: SierraSoftworks/gh-releases@v1.0.7
29-
with:
30-
token: ${{ secrets.GITHUB_TOKEN }}
31-
release_tag: builds/${{ steps.version.outputs.BUILD_NUMBER }}
32-
overwrite: "true"
33-
files: |
34-
Burrow-x86_64.AppImage
12+
- name: Checkout
13+
uses: actions/checkout@v4
14+
with:
15+
fetch-depth: 0
16+
- name: Build AppImage
17+
run: |
18+
docker build -t appimage-builder . -f burrow-gtk/build-aux/Dockerfile
19+
docker create --name temp appimage-builder
20+
docker cp temp:/app/burrow-gtk/build-appimage/Burrow-x86_64.AppImage .
21+
docker rm temp
22+
- name: Attach Artifacts
23+
uses: SierraSoftworks/gh-releases@v1.0.7
24+
with:
25+
token: ${{ secrets.GITHUB_TOKEN }}
26+
release_tag: ${{ github.ref_name }}
27+
overwrite: "true"
28+
files: |
29+
Burrow-x86_64.AppImage

0 commit comments

Comments
 (0)