Skip to content

Commit

Permalink
chore: fix release workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
Gowee committed Aug 12, 2022
1 parent 5e14c21 commit 382bc63
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 14 deletions.
12 changes: 0 additions & 12 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@ name: CI

on:
push:
branches:
- "*"
- "!pages" # https://github.community/t/github-actions-on-push-not-master/16026/2
pull_request:

env:
Expand Down Expand Up @@ -69,15 +66,6 @@ jobs:
# working-directory: web/
# run: yarn test # no effective test so far

create-release:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')

# adapted from: https://github.com/Gowee/cidr-aggregator/blob/9c02241ab64e5cf62e33375e55e09502385bdc61/.github/workflows/main.yml#L1
# which is in turn adapted from:
# https://github.com/Gowee/json2pyi/blob/4e13b4767f97d79e90ecf19a0cb21b1e799d7d48/.github/workflows/main.yml
2 changes: 0 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@ jobs:
archive: zip
steps:
- uses: actions/checkout@master
- name: Create release
uses: softprops/action-gh-release@v1
- name: Compile and release
uses: rust-build/rust-build.action@latest
env:
Expand Down

0 comments on commit 382bc63

Please sign in to comment.