Skip to content

Commit

Permalink
Merge pull request #20 from artemoliynyk/misc/github-release-actions
Browse files Browse the repository at this point in the history
Updated automated build workflows
  • Loading branch information
artemoliynyk committed Apr 11, 2024
2 parents 17fdb78 + dfc44ca commit 530b70d
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 28 deletions.
8 changes: 1 addition & 7 deletions .github/workflows/rust-build-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ env:

jobs:
build-linux:
if: startsWith(github.ref, 'refs/tags/')
if: startsWith(github.ref, 'refs/tags/release')
runs-on: ubuntu-latest
steps:
- name: prepare rust 1.75
Expand Down Expand Up @@ -50,12 +50,6 @@ jobs:
chmod +x oxiflow
tar -czvf"${TAR_FILE}" oxiflow oxiflow.checksum VERSION.txt
# - name: upload-artifacts
# uses: actions/upload-artifact@v4
# with:
# name: ${{ env.PKG_FILENAME }}
# path: "${{ github.workspace }}/target/release/${{ env.PKG_FILENAME }}"

- name: create a release
uses: softprops/action-gh-release@v2
with:
Expand Down
8 changes: 1 addition & 7 deletions .github/workflows/rust-build-macos-arm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ env:

jobs:
build-macos:
if: startsWith(github.ref, 'refs/tags/')
if: startsWith(github.ref, 'refs/tags/release')
runs-on: macos-latest
steps:
- name: prepare rust 1.75
Expand Down Expand Up @@ -50,12 +50,6 @@ jobs:
chmod +x oxiflow
tar -czvf"${TAR_FILE}" oxiflow oxiflow.checksum VERSION.txt
# - name: upload-artifacts
# uses: actions/upload-artifact@v4
# with:
# name: ${{ env.PKG_FILENAME }}
# path: "${{ github.workspace }}/target/aarch64-apple-darwin/release/${{ env.PKG_FILENAME }}"

- name: create a release
uses: softprops/action-gh-release@v2
with:
Expand Down
8 changes: 1 addition & 7 deletions .github/workflows/rust-build-macos-intel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ env:

jobs:
build-macos:
if: startsWith(github.ref, 'refs/tags/')
if: startsWith(github.ref, 'refs/tags/release')
runs-on: macos-latest
steps:
- name: prepare rust 1.75
Expand Down Expand Up @@ -49,12 +49,6 @@ jobs:
chmod +x oxiflow
tar -czvf"${TAR_FILE}" oxiflow oxiflow.checksum VERSION.txt
# - name: upload-artifacts
# uses: actions/upload-artifact@v4
# with:
# name: ${{ env.PKG_FILENAME }}
# path: "${{ github.workspace }}/target/release/${{ env.PKG_FILENAME }}"

- name: create a release
uses: softprops/action-gh-release@v2
with:
Expand Down
8 changes: 1 addition & 7 deletions .github/workflows/rust-build-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ env:

jobs:
build-windows:
if: startsWith(github.ref, 'refs/tags/')
if: startsWith(github.ref, 'refs/tags/release')
runs-on: windows-latest
steps:
- name: prepare rust 1.75
Expand Down Expand Up @@ -49,12 +49,6 @@ jobs:
# no permision to change in windows
tar -czvf"${env:TAR_FILE}" oxiflow.exe oxiflow.checksum VERSION.txt
# - name: upload-artifacts
# uses: actions/upload-artifact@v4
# with:
# name: ${{ env.PKG_FILENAME }}
# path: "${{ github.workspace }}/target/release/${{ env.PKG_FILENAME }}"

- name: create a release
uses: softprops/action-gh-release@v2
with:
Expand Down

0 comments on commit 530b70d

Please sign in to comment.