Skip to content

Commit 5ba6041

Browse files
committed
updated release.yml
1 parent b633c8d commit 5ba6041

File tree

1 file changed

+48
-48
lines changed

1 file changed

+48
-48
lines changed

.github/workflows/release.yml

Lines changed: 48 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -44,55 +44,55 @@ jobs:
4444
body_path: CHANGELOG.md
4545
files: |
4646
target/scala-3.1.2/polystat.jar
47-
build-binaries:
48-
needs: pre-release
49-
runs-on: ${{ matrix.os }}
50-
strategy:
51-
fail-fast: false
52-
matrix:
53-
os: []
54-
include:
55-
- os: ubuntu-latest
56-
uploaded_filename: polystat-x86_64-pc-linux
57-
local_path: polystat
58-
- os: windows-latest
59-
uploaded_filename: polystat-x86_64-pc-win32.exe
60-
local_path: polystat.exe
61-
steps:
62-
- name: Check out repository code
63-
uses: actions/checkout@v2
64-
with:
65-
token: ${{ secrets.GIT_TOKEN }}
66-
- name: Configure local git
67-
run: >-
68-
git config user.name "${{ secrets.GIT_USERNAME }}" &&
69-
git config user.email "${{ secrets.GIT_USER_EMAIL }}"
70-
- run: git pull --no-rebase
71-
- uses: olafurpg/setup-scala@v13
72-
- name: Set up Visual Studio shell
73-
uses: egor-tensin/vs-shell@v2
74-
if: ${{ matrix.os == 'windows-latest' }}
75-
- name: build native image (windows)
76-
if: ${{ matrix.os == 'windows-latest' }}
77-
shell: cmd
78-
run: >-
79-
echo %PATH% &&
80-
sbt nativeImage &&
81-
copy target\native-image\polystat-cli.exe ${{ matrix.uploaded_filename }} &&
82-
tree
83-
- name: build native image (linux)
84-
if: ${{ matrix.os != 'windows-latest' }}
85-
shell: bash
86-
run: |
87-
echo $PATH
88-
sbt "nativeImageCopy ${{ matrix.uploaded_filename }}" nativeImageRun
89-
- name: Upload release
90-
uses: softprops/action-gh-release@v1
91-
with:
92-
tag_name: ${{ needs.pre-release.outputs.release-tag }}
93-
files: ${{ matrix.uploaded_filename }}
47+
# build-binaries:
48+
# needs: pre-release
49+
# runs-on: ${{ matrix.os }}
50+
# strategy:
51+
# fail-fast: false
52+
# matrix:
53+
# os: []
54+
# include:
55+
# - os: ubuntu-latest
56+
# uploaded_filename: polystat-x86_64-pc-linux
57+
# local_path: polystat
58+
# - os: windows-latest
59+
# uploaded_filename: polystat-x86_64-pc-win32.exe
60+
# local_path: polystat.exe
61+
# steps:
62+
# - name: Check out repository code
63+
# uses: actions/checkout@v2
64+
# with:
65+
# token: ${{ secrets.GIT_TOKEN }}
66+
# - name: Configure local git
67+
# run: >-
68+
# git config user.name "${{ secrets.GIT_USERNAME }}" &&
69+
# git config user.email "${{ secrets.GIT_USER_EMAIL }}"
70+
# - run: git pull --no-rebase
71+
# - uses: olafurpg/setup-scala@v13
72+
# - name: Set up Visual Studio shell
73+
# uses: egor-tensin/vs-shell@v2
74+
# if: ${{ matrix.os == 'windows-latest' }}
75+
# - name: build native image (windows)
76+
# if: ${{ matrix.os == 'windows-latest' }}
77+
# shell: cmd
78+
# run: >-
79+
# echo %PATH% &&
80+
# sbt nativeImage &&
81+
# copy target\native-image\polystat-cli.exe ${{ matrix.uploaded_filename }} &&
82+
# tree
83+
# - name: build native image (linux)
84+
# if: ${{ matrix.os != 'windows-latest' }}
85+
# shell: bash
86+
# run: |
87+
# echo $PATH
88+
# sbt "nativeImageCopy ${{ matrix.uploaded_filename }}" nativeImageRun
89+
# - name: Upload release
90+
# uses: softprops/action-gh-release@v1
91+
# with:
92+
# tag_name: ${{ needs.pre-release.outputs.release-tag }}
93+
# files: ${{ matrix.uploaded_filename }}
9494
post-release:
95-
needs: build-binaries
95+
needs: pre-release
9696
runs-on: ubuntu-latest
9797
steps:
9898
- name: Check out repository code

0 commit comments

Comments
 (0)