Skip to content

Commit bfc8547

Browse files
authored
Update X2P compilation
1 parent 97fbfd0 commit bfc8547

File tree

1 file changed

+0
-63
lines changed

1 file changed

+0
-63
lines changed

.github/workflows/compilation.yml

-63
Original file line numberDiff line numberDiff line change
@@ -135,66 +135,3 @@ jobs:
135135
name: X2P-debug-${{ env.OPL_VERSION }}-${{ matrix.docker }}
136136
path: X2P-*.elf
137137

138-
release:
139-
needs: [build, build-variants, build-lang]
140-
runs-on: ubuntu-latest
141-
if: startsWith(github.ref, 'refs/tags/v') || github.ref == 'refs/heads/master'
142-
env:
143-
USERNAME: ${{ secrets.USERNAME }}
144-
PASSWORD: ${{ secrets.PASSWORD }}
145-
steps:
146-
- name: git checkout
147-
uses: actions/checkout@v3
148-
149-
- run: git fetch --prune --unshallow
150-
151-
- name: Get version
152-
run: |
153-
echo "OPL_VERSION=$(make oplversion)" >> $GITHUB_ENV
154-
155-
- name: Download all artifacts
156-
uses: actions/download-artifact@v3
157-
158-
- name: Prepare artifacts for release
159-
run: |
160-
echo packing release of X2P ${{ env.OPL_VERSION }}
161-
cp INFO/* X2P/
162-
cp INFO/* X2P-VARIANTS/
163-
7z a -t7z X2P-${{ env.OPL_VERSION }}.7z X2P/*
164-
7z a -t7z X2P-VARIANTS-${{ env.OPL_VERSION }}.7z X2P-VARIANTS/*
165-
7z a -t7z X2P-LANGS-${{ env.OPL_VERSION }}.7z X2P-LANGS/*
166-
cp -f X2P-${{ env.OPL_VERSION }}.7z X2P.7z
167-
cp -f X2P-VARIANTS-${{ env.OPL_VERSION }}.7z X2P-VARIANTS.7z
168-
cp -f X2P-LANGS-${{ env.OPL_VERSION }}.7z X2P-LANGS.7z
169-
170-
- name: Create prerelease
171-
if: github.ref == 'refs/heads/master'
172-
uses: marvinpinto/action-automatic-releases@latest
173-
with:
174-
repo_token: "${{ secrets.GITHUB_TOKEN }}"
175-
prerelease: true
176-
automatic_release_tag: "latest"
177-
title: "${{ steps.version.outputs.version }}"
178-
files: |
179-
X2P-${{ env.OPL_VERSION }}.7z
180-
X2P-VARIANTS-${{ env.OPL_VERSION }}.7z
181-
X2P-LANGS-${{ env.OPL_VERSION }}.7z
182-
X2P.7z
183-
X2P-VARIANTS.7z
184-
X2P-LANGS.7z
185-
186-
- name: Create release
187-
if: startsWith(github.ref, 'refs/tags/v')
188-
uses: marvinpinto/action-automatic-releases@latest
189-
with:
190-
repo_token: "${{ secrets.GITHUB_TOKEN }}"
191-
prerelease: "${{ contains(github.ref, '-rc') }}"
192-
title: "${{ env.OPL_VERSION }}"
193-
files: |
194-
X2P-${{ env.OPL_VERSION }}.7z
195-
X2P-VARIANTS-${{ env.OPL_VERSION }}.7z
196-
X2P-LANGS-${{ env.OPL_VERSION }}.7z
197-
X2P.7z
198-
X2P-VARIANTS.7z
199-
X2P-LANGS.7z
200-

0 commit comments

Comments
 (0)