|
1 | 1 | name: Release
|
2 | 2 | on:
|
3 | 3 | push:
|
| 4 | + branches: |
| 5 | + - jk-musl |
4 | 6 | tags:
|
5 | 7 | - "v*.*.*"
|
6 | 8 | permissions:
|
@@ -53,73 +55,73 @@ jobs:
|
53 | 55 | mkdir -p "${ELIXIR_MAKE_CACHE_DIR}"
|
54 | 56 | mix deps.get
|
55 | 57 | mix elixir_make.precompile
|
56 |
| - - uses: softprops/action-gh-release@v2 |
57 |
| - if: startsWith(github.ref, 'refs/tags/') |
58 |
| - with: |
59 |
| - draft: true |
60 |
| - files: | |
61 |
| - cache/*.tar.gz |
62 |
| - cache/*.sha256 |
| 58 | + # - uses: softprops/action-gh-release@v2 |
| 59 | + # if: startsWith(github.ref, 'refs/tags/') |
| 60 | + # with: |
| 61 | + # draft: true |
| 62 | + # files: | |
| 63 | + # cache/*.tar.gz |
| 64 | + # cache/*.sha256 |
63 | 65 |
|
64 |
| - macos: |
65 |
| - runs-on: macos-13 |
66 |
| - env: |
67 |
| - MIX_ENV: prod |
68 |
| - ELIXIR_VERSION: "1.15.3" |
69 |
| - strategy: |
70 |
| - matrix: |
71 |
| - otp_version: ["25.3"] |
72 |
| - name: macOS x86_64 (${{ matrix.otp_version }}) |
73 |
| - steps: |
74 |
| - - uses: actions/checkout@v4 |
75 |
| - - run: | |
76 |
| - curl -fsSO https://elixir-lang.org/install.sh |
77 |
| - sh install.sh elixir@${{ env.ELIXIR_VERSION }} otp@${{ matrix.otp_version }} |
78 |
| - otp_bin=($HOME/.elixir-install/installs/otp/*/bin) |
79 |
| - elixir_bin=($HOME/.elixir-install/installs/elixir/*/bin) |
80 |
| - echo "$otp_bin" >> "$GITHUB_PATH" |
81 |
| - echo "$elixir_bin" >> "$GITHUB_PATH" |
82 |
| - - name: Precompile |
83 |
| - run: | |
84 |
| - export ELIXIR_MAKE_CACHE_DIR=$(pwd)/cache |
85 |
| - mkdir -p "${ELIXIR_MAKE_CACHE_DIR}" |
86 |
| - mix deps.get |
87 |
| - mix elixir_make.precompile |
88 |
| - - uses: softprops/action-gh-release@v2 |
89 |
| - if: startsWith(github.ref, 'refs/tags/') |
90 |
| - with: |
91 |
| - draft: true |
92 |
| - files: | |
93 |
| - cache/*.tar.gz |
94 |
| - cache/*.sha256 |
| 66 | + # macos: |
| 67 | + # runs-on: macos-13 |
| 68 | + # env: |
| 69 | + # MIX_ENV: prod |
| 70 | + # ELIXIR_VERSION: "1.15.3" |
| 71 | + # strategy: |
| 72 | + # matrix: |
| 73 | + # otp_version: ["25.3"] |
| 74 | + # name: macOS x86_64 (${{ matrix.otp_version }}) |
| 75 | + # steps: |
| 76 | + # - uses: actions/checkout@v4 |
| 77 | + # - run: | |
| 78 | + # curl -fsSO https://elixir-lang.org/install.sh |
| 79 | + # sh install.sh elixir@${{ env.ELIXIR_VERSION }} otp@${{ matrix.otp_version }} |
| 80 | + # otp_bin=($HOME/.elixir-install/installs/otp/*/bin) |
| 81 | + # elixir_bin=($HOME/.elixir-install/installs/elixir/*/bin) |
| 82 | + # echo "$otp_bin" >> "$GITHUB_PATH" |
| 83 | + # echo "$elixir_bin" >> "$GITHUB_PATH" |
| 84 | + # - name: Precompile |
| 85 | + # run: | |
| 86 | + # export ELIXIR_MAKE_CACHE_DIR=$(pwd)/cache |
| 87 | + # mkdir -p "${ELIXIR_MAKE_CACHE_DIR}" |
| 88 | + # mix deps.get |
| 89 | + # mix elixir_make.precompile |
| 90 | + # - uses: softprops/action-gh-release@v2 |
| 91 | + # if: startsWith(github.ref, 'refs/tags/') |
| 92 | + # with: |
| 93 | + # draft: true |
| 94 | + # files: | |
| 95 | + # cache/*.tar.gz |
| 96 | + # cache/*.sha256 |
95 | 97 |
|
96 |
| - windows: |
97 |
| - runs-on: windows-2022 |
98 |
| - env: |
99 |
| - MIX_ENV: prod |
100 |
| - ELIXIR_VERSION: "1.15.3" |
101 |
| - strategy: |
102 |
| - matrix: |
103 |
| - otp_version: ["25.3"] |
104 |
| - name: Windows x86_64 (${{ matrix.otp_version }}) |
105 |
| - steps: |
106 |
| - - uses: actions/checkout@v4 |
107 |
| - - uses: erlef/setup-beam@v1 |
108 |
| - with: |
109 |
| - otp-version: ${{ matrix.otp_version }} |
110 |
| - elixir-version: ${{ env.ELIXIR_VERSION }} |
111 |
| - - uses: ilammy/msvc-dev-cmd@v1 |
112 |
| - - name: Precompile |
113 |
| - shell: bash |
114 |
| - run: | |
115 |
| - export ELIXIR_MAKE_CACHE_DIR=$(pwd)/cache |
116 |
| - mkdir -p "${ELIXIR_MAKE_CACHE_DIR}" |
117 |
| - mix deps.get |
118 |
| - mix elixir_make.precompile |
119 |
| - - uses: softprops/action-gh-release@v2 |
120 |
| - if: startsWith(github.ref, 'refs/tags/') |
121 |
| - with: |
122 |
| - draft: true |
123 |
| - files: | |
124 |
| - cache/*.tar.gz |
125 |
| - cache/*.sha256 |
| 98 | + # windows: |
| 99 | + # runs-on: windows-2022 |
| 100 | + # env: |
| 101 | + # MIX_ENV: prod |
| 102 | + # ELIXIR_VERSION: "1.15.3" |
| 103 | + # strategy: |
| 104 | + # matrix: |
| 105 | + # otp_version: ["25.3"] |
| 106 | + # name: Windows x86_64 (${{ matrix.otp_version }}) |
| 107 | + # steps: |
| 108 | + # - uses: actions/checkout@v4 |
| 109 | + # - uses: erlef/setup-beam@v1 |
| 110 | + # with: |
| 111 | + # otp-version: ${{ matrix.otp_version }} |
| 112 | + # elixir-version: ${{ env.ELIXIR_VERSION }} |
| 113 | + # - uses: ilammy/msvc-dev-cmd@v1 |
| 114 | + # - name: Precompile |
| 115 | + # shell: bash |
| 116 | + # run: | |
| 117 | + # export ELIXIR_MAKE_CACHE_DIR=$(pwd)/cache |
| 118 | + # mkdir -p "${ELIXIR_MAKE_CACHE_DIR}" |
| 119 | + # mix deps.get |
| 120 | + # mix elixir_make.precompile |
| 121 | + # - uses: softprops/action-gh-release@v2 |
| 122 | + # if: startsWith(github.ref, 'refs/tags/') |
| 123 | + # with: |
| 124 | + # draft: true |
| 125 | + # files: | |
| 126 | + # cache/*.tar.gz |
| 127 | + # cache/*.sha256 |
0 commit comments