Skip to content

Commit 72f9baa

Browse files
committed
macos-13
1 parent e4db884 commit 72f9baa

File tree

1 file changed

+42
-39
lines changed

1 file changed

+42
-39
lines changed

.github/workflows/release.yml

Lines changed: 42 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,18 @@
11
name: release
22
on:
33
workflow_dispatch: # allow to manually trigger this workflow
4-
# push:
5-
# branches:
6-
# - michael/github-actions-debug2
4+
push:
5+
branches:
6+
- michael/github-actions-debug3
77
jobs:
88
build_natives:
99
runs-on: ${{matrix.os}}
1010
strategy:
1111
matrix:
12-
os: [macos-latest, windows-latest]
12+
# os: [macos-latest, windows-latest]
13+
os: [
14+
macos-13 # mac_x86_64
15+
]
1316
steps:
1417
- uses: actions/checkout@v4
1518
with:
@@ -30,38 +33,38 @@ jobs:
3033
GPL/DemanglerGnu/build/os/*
3134
Ghidra/Features/Decompiler/build/os/*
3235
Ghidra/Features/FileFormats/build/os/*
33-
build_ghidra:
34-
needs: build_natives
35-
runs-on: ubuntu-latest
36-
steps:
37-
- uses: actions/checkout@v4
38-
with:
39-
fetch-depth: 0
40-
- name: Set up JDK
41-
uses: actions/setup-java@v4
42-
with:
43-
distribution: temurin
44-
java-version: 21
45-
- name: Setup Gradle
46-
uses: gradle/actions/setup-gradle@v4
47-
- uses: actions/download-artifact@v4
48-
with:
49-
merge-multiple: true
50-
- run: git log -1 --pretty=format:%h
51-
- name: List native binaries
52-
run: tree GPL/DemanglerGnu/build/os Ghidra/Features/Decompiler/build/os Ghidra/Features/FileFormats/build/os
53-
- name: import PGP key for signing
54-
run: echo $PGP_SECRET | base64 --decode | gpg --batch --import
55-
env:
56-
PGP_SECRET: ${{ secrets.PGP_SECRET }}
57-
- name: configure username/password in maven settings.xml
58-
run: |
59-
mkdir -p ~/.m2
60-
cp settings.xml.template ~/.m2/settings.xml
61-
sed -i s#__USERNAME__#${SONATYPE_USERNAME}# ~/.m2/settings.xml
62-
sed -i s#__PASSWORD__#${SONATYPE_PASSWORD}# ~/.m2/settings.xml
63-
env:
64-
SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }}
65-
SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}
66-
- name: Build release ghidra, all the way to maven central
67-
run: ./ghidra-publish.sh --non-interactive
36+
# build_ghidra:
37+
# needs: build_natives
38+
# runs-on: ubuntu-latest
39+
# steps:
40+
# - uses: actions/checkout@v4
41+
# with:
42+
# fetch-depth: 0
43+
# - name: Set up JDK
44+
# uses: actions/setup-java@v4
45+
# with:
46+
# distribution: temurin
47+
# java-version: 21
48+
# - name: Setup Gradle
49+
# uses: gradle/actions/setup-gradle@v4
50+
# - uses: actions/download-artifact@v4
51+
# with:
52+
# merge-multiple: true
53+
# - run: git log -1 --pretty=format:%h
54+
# - name: List native binaries
55+
# run: tree GPL/DemanglerGnu/build/os Ghidra/Features/Decompiler/build/os Ghidra/Features/FileFormats/build/os
56+
# - name: import PGP key for signing
57+
# run: echo $PGP_SECRET | base64 --decode | gpg --batch --import
58+
# env:
59+
# PGP_SECRET: ${{ secrets.PGP_SECRET }}
60+
# - name: configure username/password in maven settings.xml
61+
# run: |
62+
# mkdir -p ~/.m2
63+
# cp settings.xml.template ~/.m2/settings.xml
64+
# sed -i s#__USERNAME__#${SONATYPE_USERNAME}# ~/.m2/settings.xml
65+
# sed -i s#__PASSWORD__#${SONATYPE_PASSWORD}# ~/.m2/settings.xml
66+
# env:
67+
# SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }}
68+
# SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}
69+
# - name: Build release ghidra, all the way to maven central
70+
# run: ./ghidra-publish.sh --non-interactive

0 commit comments

Comments
 (0)